CPC G06F 16/178 (2019.01) [G06F 16/1774 (2019.01)] | 20 Claims |
1. A method comprising:
acquiring, by a processor-based system, a lock file from a central node storing a central copy of data files associated with a workload, wherein the data files and the workload are distributed across a network of nodes, and wherein the lock file includes a first nodes-list indicating identities of a first set of nodes having a latest version of the data files and a second nodes-list indicating identities of a second set of nodes that have modified the data files;
identifying, by the processor-based system, a nearest node from the first nodes-list responsive to an identity of the processor-based system not matching with the identities indicated in the first nodes-list;
obtaining, by the processor-based system, an updated portion of the latest version of the data files from the nearest node;
synchronizing, by the processor-based system, a local copy of the data files stored on the processor-based system with the latest version using the updated portion;
modifying, by the processor-based system, the local copy of the data files;
updating, by the processor-based system, the lock file by indicating the identity of the processor-based system in the first nodes-list and the second nodes-list; and
providing, by the processor-based system, a modified portion of the local copy of the data files to the central node, wherein the central copy is synchronized with the local copy of the data files using the modified portion.
|