MANAGING DATA CONFIGURATION INFORMATION ACROSS DATA REPOSITORIES
An example method for managing data configuration information across data repositories includes receiving, by a target data repository, data for replication from a source data repository; generating, by the target data repository and based on the receiving the data, target repository identifier information for the data, the target repository identifier information enabling clients to access the data on the target data repository and different from source repository identifier information; accessing, by the target data repository, the source repository identifier information that enables clients to access the data on the source data repository; providing, by the target data repository at a first time, the target repository identifier information for accessing the data on the target data repository; and providing, by the target data repository at a second time, the source repository identifier information for accessing the data on the target data repository.
1 . A method comprising:
receiving, by a target data repository, data for replication from a source data repository;
generating, by the target data repository and based on the receiving the data, target repository identifier information for the data, the target repository identifier information enabling clients to access the data on the target data repository and different from source repository identifier information;
accessing, by the target data repository, the source repository identifier information that enables clients to access the data on the source data repository;
providing, by the target data repository at a first time, the target repository identifier information for accessing the data on the target data repository; and
providing, by the target data repository at a second time, the source repository identifier information for accessing the data on the target data repository.
2 . The method of claim 1 , further comprising receiving, by the target data repository at the first time, storage operations utilizing the target repository identifier information.
3 . The method of claim 2 , wherein:
the storage operations comprise a test write request of test data from a client; and
the method further comprises temporarily storing, based on receiving the test write request, the test data.
4 . The method of claim 3 , further comprising:
receiving, by the target data repository at the first time, additional data for replication from the source data repository; and
storing the additional data in the target data repository.
5 . The method of claim 1 , wherein the providing the source repository identifier information for accessing the data on the target data repository comprises reassigning identifier information associated with the data on the target data repository from the target repository identifier information to the source repository identifier information.
6 . The method of claim 1 , further comprising receiving, by the target data repository at the second time, storage operations utilizing the source repository identifier information.
7 . The method of claim 1 , wherein the providing the source repository identifier information for accessing the data on the target data repository is in response to a promotion event of the target data repository.
8 . The method of claim 7 , wherein the promotion event comprises receiving an input from a user to either the source data repository or the target data repository initiating the promotion event.
9 . The method of claim 8 , further comprising assigning, based on the receiving the input, the target data repository as a new source data repository.
10 . The method of claim 9 , further comprising assigning, based on the receiving the input, the source data repository as a new target data repository.
11 . The method of claim 7 , wherein the accessing the source repository identifier information is in response to the promotion event.
12 . The method of claim 7 , further comprising receiving, by the target data repository from a mediator, a verification of the promotion event.
13 . The method of claim 1 , wherein:
the accessing the source repository identifier information is based on the receiving the data; and
the method further comprises maintaining, by the target data repository, a replica of the source repository identifier information.
14 . The method of claim 1 , wherein:
the data comprises data stored in a file; and
the source repository identifier information comprises network configuration information associated with the file and the source data repository.
15 . A system comprising:
a memory storing instructions; and
one or more processors communicatively coupled to the memory and configured to execute the instructions to perform a process comprising:
receiving data for replication from a source data repository;
generating, based on the receiving the data, target repository identifier information for the data, the target repository identifier information enabling clients to access the data on a target data repository and different from source repository identifier information;
accessing configuration information associated with the data, the configuration information including the source repository identifier information that enables clients to access the data on the source data repository;
providing, at a first time, the target repository identifier information for accessing the data on the target data repository; and
providing, at a second time, the source repository identifier information for accessing the data on the target data repository.
16 . The system of claim 15 , wherein the providing the source repository identifier information for accessing the data on the target data repository comprises reassigning identifier information associated with the data on the target data repository from the target repository identifier information to the source repository identifier information.
17 . The system of claim 15 , wherein the providing the source repository identifier information for accessing the data on the target data repository is in response to a promotion event of the target data repository.
18 . The system of claim 15 , wherein:
the data comprises data stored in a file; and
the source repository identifier information comprises network configuration information associated with the file and the source data repository.
19 . A computer program product embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
receiving data for replication from a source data repository;
generating, based on the receiving the data, target repository identifier information for the data, the target repository identifier information enabling clients to access the data on a target data repository and different from source repository identifier information;
accessing the source repository identifier information that enables clients to access the data on the source data repository;
providing, at a first time, the target repository identifier information for accessing the data on the target data repository; and
providing, at a second time, the source repository identifier information for accessing the data on the target data repository.
20 . The computer program product of claim 19 , wherein the providing the source repository identifier information for accessing the data on the target data repository comprises reassigning identifier information associated with the data on the target data repository from the target repository identifier information to the source repository identifier information.