Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving RecoveryState.Index to a top-level class and renaming #3075

Merged
merged 7 commits into from
May 5, 2022

Commits on May 4, 2022

  1. 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>
    kartg committed May 4, 2022
    Configuration menu
    Copy the full SHA
    9752158 View commit details
    Browse the repository at this point in the history
  2. Incorporate PR comments

    Signed-off-by: Kartik Ganesh <gkart@amazon.com>
    kartg committed May 4, 2022
    Configuration menu
    Copy the full SHA
    db9976e View commit details
    Browse the repository at this point in the history
  3. Revert Project_Default.xml

    Signed-off-by: Kartik Ganesh <gkart@amazon.com>
    kartg committed May 4, 2022
    Configuration menu
    Copy the full SHA
    253ad37 View commit details
    Browse the repository at this point in the history
  4. 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>
    kartg committed May 4, 2022
    Configuration menu
    Copy the full SHA
    2d737c0 View commit details
    Browse the repository at this point in the history
  5. 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>
    kartg committed May 4, 2022
    Configuration menu
    Copy the full SHA
    1baf6e9 View commit details
    Browse the repository at this point in the history
  6. Configure @opensearch.internal as custom Javadoc tag

    Signed-off-by: Kartik Ganesh <gkart@amazon.com>
    kartg committed May 4, 2022
    Configuration menu
    Copy the full SHA
    2077d76 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Revert "Configure @opensearch.internal as custom Javadoc tag"

    This reverts commit 2077d76.
    
    Signed-off-by: Kartik Ganesh <gkart@amazon.com>
    kartg committed May 5, 2022
    Configuration menu
    Copy the full SHA
    51b9c81 View commit details
    Browse the repository at this point in the history