Remote replication and recovery changes#20424
Remote replication and recovery changes#20424bharath-techie merged 26 commits intoopensearch-project:feature/datafusionfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Comment |
|
❌ Gradle check result for 1f3aa80: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 31041da: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 839a560: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for b576be5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
b576be5 to
d00f2b9
Compare
|
❌ Gradle check result for d00f2b9: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for f62dce8: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
…ryWithPinnedTimestampTests
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
…enabled to avoid client side encryption (opensearch-project#19630) Signed-off-by: Pranit Kumar <pranikum@amazon.com>
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
…n in replicas" This reverts commit 1f3aa80.
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
…ecovery Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
dda84c3 to
760f2c3
Compare
|
❌ Gradle check result for 760f2c3: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
|
❌ Gradle check result for 9926737: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 817c024: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
…romRemoteSegmentStore APIs
|
❌ Gradle check result for 76fc740: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for dd5463e: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
…port on parquet files Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com>
b4ff131
into
opensearch-project:feature/datafusion
|
❌ Gradle check result for 7341e0f: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
* Changes to get remote upload and replication to work for lucene indices Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Replication changes Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Fixes for remote store integration (opensearch-project#20325) Signed-off-by: Mohit Godwani <mgodwan@amazon.com> * Updated and Refactored the code to have only required changes for recovery * Removed extra logging lines * Resolving PR comments * Updated the VSRManagerTests to use ParquetFileMetadata as flushResult * Fixing RemoteSegmentStoreDirectoryTests and RemoteSegmentStoreDirectoryWithPinnedTimestampTests * Fix for merged files not getting uploaded/deleted Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Added support for SSE KMS testing via run.gradle Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * [RemoteStore] Add support for repository with server side encryption enabled to avoid client side encryption (opensearch-project#19630) Signed-off-by: Pranit Kumar <pranikum@amazon.com> * Adding support for SSE KMS in RemoteSegmentStoreDirectoryFactory Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Fixing lucene remote recovery and files should not get written in replicas * Removing extra logging statements * Revert "Fixing lucene remote recovery and files should not get written in replicas" This reverts commit 1f3aa80. * Using NIOFSDirectory in GenericStoreDirectory Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Adding NRTReplicationCompositeEngine for checkpoint tracking during recovery Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Using index input for checksum calculation instead of input stream Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Fixing lucene remote recovery and files should not get written in replicas * Fixed RemoteIndexRecoveryIT::testRerouteRecovery * Removed the isReadonly check from compositeEngine as we have the NRTEngine now * Removing override for getHistoryUUID in NRTReplicationCompositeEngine Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> * Updated the IndexFileDeleterTests to use absolute file path * Refactoring syncSegmentsFromGivenRemoteSegmentStore and syncSegmentsFromRemoteSegmentStore APIs * Made deleteUnrefrencedFiles api more generic * Modifying UUID to be added before file name extension for catalog support on parquet files Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> --------- Signed-off-by: Raghuvansh Raj <raghraaj@amazon.com> Signed-off-by: Mohit Godwani <mgodwan@amazon.com> Signed-off-by: Pranit Kumar <pranikum@amazon.com> Co-authored-by: Mohit Godwani <81609427+mgodwan@users.noreply.github.com> Co-authored-by: Kamal Nayan <askkamal@amazon.com> Co-authored-by: pranikum <kpranit81@gmail.com>
Description
Known bug in this PR: Checkpoint tracking during remote recovery is buggy, leading to segments getting recreated from translog.Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.