-
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 Store] Moving stale commit deletion to async flow #8201
[Remote Store] Moving stale commit deletion to async flow #8201
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #8201 +/- ##
============================================
- Coverage 70.86% 70.84% -0.02%
+ Complexity 56825 56768 -57
============================================
Files 4752 4752
Lines 268599 268610 +11
Branches 39336 39336
============================================
- Hits 190335 190292 -43
- Misses 62235 62243 +8
- Partials 16029 16075 +46
|
server/src/main/java/org/opensearch/index/shard/RemoteStoreRefreshListener.java
Outdated
Show resolved
Hide resolved
...er/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreBaseIntegTestCase.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have left couple of comments, do take a look
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/shard/RemoteStoreRefreshListener.java
Outdated
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
server/src/test/java/org/opensearch/index/store/RemoteSegmentStoreDirectoryTests.java
Show resolved
Hide resolved
Signed-off-by: Dharmesh 💤 <sdharms@amazon.com>
63e08cf
to
45b8233
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreIT.java
Outdated
Show resolved
Hide resolved
server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreIT.java
Outdated
Show resolved
Hide resolved
server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreIT.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor comments, please take a look.
server/src/main/java/org/opensearch/index/store/RemoteSegmentStoreDirectory.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/store/RemoteSegmentStoreDirectory.java
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Dharmesh 💤 <sdharms@amazon.com>
d541935
to
5c446f3
Compare
Gradle Check (Jenkins) Run Completed with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Build failure due to flaky tests. |
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-8201-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1d2274045b42e129b8c06748f8185d2431aa5336
# Push it to GitHub
git push --set-upstream origin backport/backport-8201-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 |
…ow (opensearch-project#8201) --------- Signed-off-by: Dharmesh 💤 <sdharms@amazon.com>
…-project#8201) --------- Signed-off-by: Dharmesh 💤 <sdharms@amazon.com> Signed-off-by: sahil buddharaju <sahilbud@amazon.com>
…-project#8201) --------- Signed-off-by: Dharmesh 💤 <sdharms@amazon.com>
…-project#8201) --------- Signed-off-by: Dharmesh 💤 <sdharms@amazon.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
Changes to move the stale commit deletion logic to async flow.
Related Issues
Resolves #4315
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.