US 11,748,314 B2
Method, device and computer program product for data replication
Qing Hua Ling, Beijing (CN); Xin Zhong, Beijing (CN); Yangfeng Chen, Beijing (CN); Yue Yang, Beijing (CN); Jianbao Li, Beijing (CN); Lei Han, Beijing (CN); Yuan Gu, Beijing (CN); and Yan Shao, Beijing (CN)
Assigned to EMC IP Holding Company LLC, Hopkinton, MA (US)
Filed by EMC IP Holding Company LLC, Hopkinton, MA (US)
Filed on Dec. 20, 2018, as Appl. No. 16/227,700.
Claims priority of application No. 201810399820.0 (CN), filed on Apr. 28, 2018.
Prior Publication US 2019/0332580 A1, Oct. 31, 2019
Int. Cl. G06F 16/178 (2019.01); G06F 9/4401 (2018.01)
CPC G06F 16/178 (2019.01) [G06F 9/4401 (2013.01)] 8 Claims
OG exemplary drawing
 
1. A method of data replication, comprising:
in response to a first source state machine associated with a source file system being booted up, booting up a second source state machine associated with the source file system, the first source state machine having a first plurality of states including at least a file expansion state and an expansion update state, the second source state machine having a second plurality of states including at least an update wait state and an update confirm state;
performing a first operation by the file expansion state of the first source state machine, the first operation including expanding a first storage area of first data for replication from the source file system;
transmitting an expanding message from the second source state machine to a destination file system, a second operation being performed by the destination file system in response to the expanding message being transmitted to the destination file system, the second operation including expanding a second storage area for storing the first data to be replicated into the destination file system;
receiving, at the update wait state of the second source state machine, a first execution result of the first operation from the expansion update state of the first source state machine, the first execution result indicating that the first storage area was successfully expanded in response to the first operation being performed;
receiving, at the update wait state of the second source state machine, a second execution result of the second operation directly from the destination file system, the second execution result indicating that the second storage area was successfully expanded in response to the second operation being performed;
determining, by the update wait state of the second source state machine, that the first storage area and the second storage area were successfully expanded based on the first execution result and the second execution result, respectively;
transmitting first information from the update confirm state of the second source state machine to the destination file system, the first information indicating that the first storage area and the second storage area were successfully expanded; and
in response to the first information being transmitted from the second source state machine to the destination file system, replicating the first data from the source file system into the destination file system.