US 12,093,134 B2
Method, device, and computer storage medium for managing trace record
Lei Sun, Beijing (CN); Shaoqin Gong, Beijing (CN); Jianbin Kang, Beijing (CN); and Jibing Dong, Beijing (CN)
Assigned to EMC IP Holding Company LLC, Hopkinton, MA (US)
Filed by EMC IP Holding Company LLC, Hopkinton, MA (US)
Filed on Aug. 12, 2020, as Appl. No. 16/991,507.
Claims priority of application No. 202010334310.2 (CN), filed on Apr. 24, 2020.
Prior Publication US 2021/0334166 A1, Oct. 28, 2021
Int. Cl. G06F 11/14 (2006.01); G06F 16/23 (2019.01)
CPC G06F 11/1451 (2013.01) [G06F 16/2379 (2019.01); G06F 2201/80 (2013.01); G06F 2201/82 (2013.01)] 10 Claims
OG exemplary drawing
 
1. A method for managing tracking records in an application system, the application system comprising an active buffer, an inactive buffer, an active dump file, and an inactive dump file, the method comprising:
receiving a set of tracking records indicating a state of the application system, wherein receiving the set of tracking records comprises retrieving the set of tracking records from the active buffer by a dump process in response to receipt of a dump signal, wherein the dump signal is generated according to a determination that a total number of tracking records in the active buffer has reached a predetermined number threshold, wherein the dump process waits for receipt of the dump signal, and wherein receipt of the dump signal unlocks the dump process;
adding, by the dump process, the set of tracking records from the active buffer to the active dump file;
generating, by the dump process further in response to being unlocked by receipt of the dump signal, a storage signal that notifies a backup device to start retrieving tracking records contained in the active dump file from the application system and to store the retrieved tracking records into a single backup file contained in the backup device, and wherein the storage signal is generated by the dump process in response to the dump process determining both i) that a size of the active dump file meets a predetermined size threshold and ii) that a state of the inactive dump file is a ready state, the ready state indicating that the inactive dump file is available for storing another set of tracking records to be received in the future;
further in response to the size of the active dump file meeting the predetermined size threshold and the state of the inactive dump file being the ready state, exchanging the active dump file and the inactive dump file, so that the exchanged active dump file is used for storing subsequently received tracking records; and
exchanging the active buffer and the inactive buffer according to a determination that the number of tracking records in the active buffer meets a predetermined number threshold.