US 12,405,940 B1
Feature-based data rollback
Saurabh Tandon, Bangalore (IN); Qing Wang, Hangzhou (CN); Jiaguo Wu, Hefei (CN); and Yi Zang, Suzhou (CN)
Assigned to Zoom Communications, Inc., San Jose, CA (US)
Filed by Zoom Communications, Inc., San Jose, CA (US)
Filed on Oct. 10, 2023, as Appl. No. 18/484,047.
Int. Cl. G06F 16/23 (2019.01)
CPC G06F 16/235 (2019.01) [G06F 16/2365 (2019.01); G06F 16/2379 (2019.01)] 19 Claims
OG exemplary drawing
 
1. A method, comprising:
changing, via a set of data update commands, pre-update data to post-update data, the set of data update commands executed to process a data modification request;
associating a rollback context that is based on the data modification request with the pre-update data and the post-update data in a transaction log that stores the pre-update data and the post-update data after a commit of the data modification request, wherein the rollback context comprises a tracking identifier having a format <FEATURE><RANDOM NUMBER>, where <FEATURE> identifies a particular request handler or application feature and <RANDOM NUMBER> is a random number that uniquely identifies the data modification request;
receiving a rollback request associated with the rollback context after the commit of the data modification request;
generating, based on the rollback request, a data rollback script that, when executed, changes at least some of the post-update data to corresponding pre-update data; and
executing the data rollback script.