| CPC H04L 9/14 (2013.01) [G06F 9/505 (2013.01); G06F 11/1417 (2013.01); G06F 11/1451 (2013.01); G06F 11/1464 (2013.01); G06F 11/2023 (2013.01); G06F 11/2028 (2013.01); G06F 16/128 (2019.01); G06F 16/1756 (2019.01); G06F 16/178 (2019.01); G06F 16/1844 (2019.01); G06F 16/185 (2019.01); G06F 16/2365 (2019.01); G06F 16/27 (2019.01); G06F 21/602 (2013.01); G06F 21/6218 (2013.01); H04L 9/0819 (2013.01); H04L 9/0836 (2013.01); H04L 9/0891 (2013.01); H04L 9/0894 (2013.01); H04L 9/3228 (2013.01); G06F 16/1774 (2019.01); G06F 16/2246 (2019.01); G06F 2201/84 (2013.01)] | 20 Claims |

|
1. A method, comprising:
performing, by a computing system, a first cross-region replication between a source file system and a target file system, the source file system and the target file system being in different regions, and the first cross-region replication comprising transferring deltas of two given snapshots of a plurality of snapshots in the source file system to the target file system;
receiving, by the computing system, a request to terminate the first cross-region replication being performed between the source file system and the target file system;
synchronizing, by the computing system, first operations in the source file system and second operations in the target file system by using a first set of states and a second set of states, the first operations in the source file system comprising a first set of resource cleanups in the source file system, the second operations in the target file system comprising a second set of resource cleanups in the target file system, the second set of states comprising a hierarchy of a first subset and a second subset, and the first subset and the second subset of the second set of states configured to separately control timing of the first set of resource cleanups in the source file system and the second set of resource cleanups in the target file system depending on sources of requests to terminate the first cross-region replication; and
starting, by the computing system, a second cross-region replication between the source file system and the target file system subsequent to the first set of resource cleanups in the source file system and the second set of resource cleanups in the target file system,
wherein the plurality of snapshots comprise first-type snapshots and second-type snapshots, and the second set of resource cleanups comprises converting the first-type snapshots to the second-type snapshots, and wherein the source file system and the target file system use application program interfaces (APIs) to communicate state transitions of the first set of states and a second set of states.
|