-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving RecoveryState.Index to a top-level class and renaming (#3075)
* Moving RecoveryState.Index to a top-level class and renaming This class is a building block of replication and will be re-used between peer recovery and segment replication. Thus, the inner class has been extracted to a top-level class and moved to the replication.common package. It has been renamed to ReplicationLuceneIndex to better reflect what it represents. It has two dependent inner classes from RecoveryState that have also been moved along with it - these remain inner classes since they are not currently used anywhere else. The RecoveryFilesDetails class has been renamed to FilesDetails and the FileDetail class has been renamed to FileMetadata. Signed-off-by: Kartik Ganesh <gkart@amazon.com> * Incorporate PR comments Signed-off-by: Kartik Ganesh <gkart@amazon.com> * Revert Project_Default.xml Signed-off-by: Kartik Ganesh <gkart@amazon.com> * Update REST Action test to no longer mock a final class Instead, the test now populates dummy data. Signed-off-by: Kartik Ganesh <gkart@amazon.com> * Removing mocking of ReplicationLuceneIndex in RecoverySourceHandlerTests The class has been marked final, so it can no longer be mocked. Instead, the test class sets up the lucene index class by adding the smae file metadata that is set up for the store. Signed-off-by: Kartik Ganesh <gkart@amazon.com> * Configure @opensearch.internal as custom Javadoc tag Signed-off-by: Kartik Ganesh <gkart@amazon.com> * Revert "Configure @opensearch.internal as custom Javadoc tag" This reverts commit 2077d76. Signed-off-by: Kartik Ganesh <gkart@amazon.com>
- Loading branch information
Showing
14 changed files
with
634 additions
and
559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.