CPC G06F 16/275 (2019.01) [G06F 11/1435 (2013.01); G06F 11/1451 (2013.01); G06F 11/1464 (2013.01); G06F 16/2246 (2019.01); G06F 16/24573 (2019.01); G06F 2201/80 (2013.01)] | 20 Claims |
1. A system for replication of tags in global scale systems, comprising:
one or more processors; and
a non-transitory computer readable medium storing a plurality of instructions, which when executed, cause the one or more processors to:
receive metadata for a file, via replication, from a source node;
determine whether a legacy location in the metadata for the file stores any new value for a legacy location in local metadata for the file;
store the metadata for the file to a local data structure, in response to a determination that the legacy location in the metadata for the file does not comprise any new value for the legacy location in local metadata for the file;
determine whether the new value comprises any new grouping tag for the file, in response to a determination that the legacy location in the metadata for the file comprises any new value for the legacy location in the local metadata for the file;
extract the new grouping tag from the legacy location in the metadata for the file, in response to a determination that the new value comprises any new grouping tag for the file;
construct a key based on the legacy location in the metadata for the file;
search, using the constructed key, for an alternative location in the metadata for the file, for the new grouping tag; and
store the new grouping tag in the alternative location in the metadata for the file.
|