Populate RecoveryState details for shallow snapshot restore#15353
Populate RecoveryState details for shallow snapshot restore#15353sachinpkale merged 3 commits intoopensearch-project:mainfrom
Conversation
f8e731b to
e6bcc79
Compare
|
❌ Gradle check result for f8e731b: 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 e6bcc79: 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? |
Flaky test #14294 |
c482892 to
7bccf91
Compare
|
❌ Gradle check result for c482892: 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 7bccf91: 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? |
server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteRestoreSnapshotIT.java
Outdated
Show resolved
Hide resolved
7bccf91 to
49141d8
Compare
|
❌ Gradle check result for 49141d8: 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 fcaa3a4: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15353 +/- ##
============================================
- Coverage 71.87% 71.84% -0.03%
- Complexity 63318 63402 +84
============================================
Files 5231 5244 +13
Lines 296521 296797 +276
Branches 42832 42852 +20
============================================
+ Hits 213113 213230 +117
- Misses 65948 66128 +180
+ Partials 17460 17439 -21 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
fcaa3a4 to
668dfec
Compare
|
The changes are covered in integ test. CodeCov does not consider ITs, that is why the check is failing. |
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-15353-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3726c52b31e8504e7fcf9cdc1b52a0a404d6c944
# Push it to GitHub
git push --set-upstream origin backport/backport-15353-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.xThen, create a pull request where the |
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-15353-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3726c52b31e8504e7fcf9cdc1b52a0a404d6c944
# Push it to GitHub
git push --set-upstream origin backport/backport-15353-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.xThen, create a pull request where the |
…ch-project#15353) --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
…ch-project#15353) --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> Signed-off-by: Sachin Kale <kalsac@amazon.com>
…ch-project#15353) --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
…ch-project#15353) --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
…ch-project#15353) --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
…ch-project#15353) --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Description
_cat/recoverycall are populated asbytes_recovered,bytes_total, etc. is obtained from theReplicationLuceneIndexobject of theRecoveryStatefor the shard being recoveredReplicationLuceneIndexgets this data withaddFileDetail()andaddRecoveredBytesToFile()as and when these are called during the restore flowRecoveryStateof shards being restored from a shallow snapshotRelated Issues
Resolves #15434
Check List
API changes companion pull request created, if applicable.Public documentation issue/PR created, if applicable.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.