-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Remote Segments] Retry segment uploads to remote store on failure #7400
Conversation
Signed-off-by: Ashish Singh <ssashish@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/shard/RemoteStoreRefreshListener.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ashish Singh <ssashish@amazon.com>
FYI - One of the other approach is to make changes in OpenSearch/server/src/main/java/org/opensearch/index/shard/IndexShard.java Lines 4147 to 4176 in 01e5c29
In the first if condition can be changed to |
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ashish Singh <ssashish@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #7400 +/- ##
============================================
- Coverage 70.70% 70.59% -0.12%
+ Complexity 59652 59552 -100
============================================
Files 4877 4877
Lines 285806 285847 +41
Branches 41165 41171 +6
============================================
- Hits 202085 201793 -292
- Misses 67144 67453 +309
- Partials 16577 16601 +24
|
server/src/test/java/org/opensearch/index/shard/RemoteStoreRefreshListenerTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/opensearch/index/shard/RemoteStoreRefreshListenerTests.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ashish Singh <ssashish@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
org.opensearch.cluster.shards.ClusterShardLimitIT.testCreateIndexWithMaxClusterShardSetting |
Signed-off-by: Ashish Singh <ssashish@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ashish Singh <ssashish@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Looks to be unrelated flaky test again. |
Signed-off-by: Ashish Singh <ssashish@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
server/src/test/java/org/opensearch/index/shard/RemoteStoreRefreshListenerTests.java
Show resolved
Hide resolved
Signed-off-by: Ashish Singh <ssashish@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-7400-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 769a0ea449845ff5a462020ed674a917386ad517
# Push it to GitHub
git push --set-upstream origin backport/backport-7400-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
…pensearch-project#7400) Signed-off-by: Ashish Singh <ssashish@amazon.com>
…pensearch-project#7400) Signed-off-by: Ashish Singh <ssashish@amazon.com>
…pensearch-project#7400) Signed-off-by: Ashish Singh <ssashish@amazon.com>
…pensearch-project#7400) Signed-off-by: Ashish Singh <ssashish@amazon.com>
…pensearch-project#7400) Signed-off-by: Ashish Singh <ssashish@amazon.com> Signed-off-by: INDRAJIT BANERJEE <indrajohn7@gmail.com>
…pensearch-project#7400) Signed-off-by: Ashish Singh <ssashish@amazon.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
This PR does the following -
RemoteStoreRefreshListener.afterRefresh(didRefresh)
Related Issues
Resolves #7363
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.