-
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
Add remote refresh segment pressure service, settings and tracker #7227
Conversation
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 #7227 +/- ##
============================================
- Coverage 70.55% 70.51% -0.04%
- Complexity 59441 59518 +77
============================================
Files 4862 4865 +3
Lines 285544 285816 +272
Branches 41153 41164 +11
============================================
+ Hits 201453 201552 +99
- Misses 67544 67680 +136
- Partials 16547 16584 +37
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ashish Singh <[email protected]>
Signed-off-by: Ashish Singh <[email protected]>
Signed-off-by: Ashish Singh <[email protected]>
server/src/main/java/org/opensearch/index/remote/RemoteRefreshSegmentTracker.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/remote/RemoteRefreshSegmentTracker.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/remote/RemoteRefreshSegmentTracker.java
Show resolved
Hide resolved
server/src/test/java/org/opensearch/index/remote/RemoteRefreshSegmentPressureServiceTests.java
Outdated
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ashish Singh <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ashish Singh <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/remote/RemoteRefreshSegmentPressureService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/remote/RemoteRefreshSegmentTracker.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ashish Singh <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
) Signed-off-by: Ashish Singh <[email protected]> (cherry picked from commit 18390f9) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Backport failing as the PR #6875 is yet to be backported which changes in classes referred in this PR. |
…ensearch-project#7227) Signed-off-by: Ashish Singh <[email protected]> (cherry picked from commit 18390f9)
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-7227-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 18390f9e314f79aa53a251db788217c01732cf1c
# Push it to GitHub
git push --set-upstream origin backport/backport-7227-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 |
…ensearch-project#7227) Signed-off-by: Ashish Singh <[email protected]>
) (#7684) Signed-off-by: Ashish Singh <[email protected]>
…ensearch-project#7227) Signed-off-by: Ashish Singh <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
This PR adds the required core classes for tracking remote refresh segment upload. This PR does not have the integration of the remote refresh segment pressure service with the remote refresh listener. #7219 has details on how the integration would look like. It would follow up in the next PR.
Issues Resolved
This solves #7226
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.