-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 restore level safeguards to prevent file cache oversubscription #8606
Add restore level safeguards to prevent file cache oversubscription #8606
Conversation
Follow up PR: @andrross / @reta / @Bukhtawar |
Gradle Check (Jenkins) Run Completed with:
|
A new user-facing setting is worth a changelog entry I think. |
3d0464c
to
4d9e80f
Compare
Codecov Report
@@ Coverage Diff @@
## main #8606 +/- ##
============================================
+ Coverage 71.01% 71.06% +0.05%
- Complexity 57178 57215 +37
============================================
Files 4763 4763
Lines 269964 270003 +39
Branches 39502 39508 +6
============================================
+ Hits 191707 191875 +168
+ Misses 62041 61971 -70
+ Partials 16216 16157 -59
|
4d9e80f
to
f092a04
Compare
Added in an entry. |
Gradle Check (Jenkins) Run Completed with:
|
8e2e49e
to
e917d1d
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
|
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
e917d1d
to
0be12e6
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/store/remote/filecache/FileCache.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/snapshots/RestoreService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/snapshots/RestoreService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Kunal Kotwani <[email protected]>
0be12e6
to
b936e9d
Compare
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-8606-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 a3aab67ee86bf171a7eb480f0933e0b955fbf4f3
# Push it to GitHub
git push --set-upstream origin backport/backport-8606-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#8606) Signed-off-by: Kunal Kotwani <[email protected]> (cherry picked from commit a3aab67)
* Add safeguard limits for file cache during node level allocation (#8208) Signed-off-by: Kunal Kotwani <[email protected]> (cherry picked from commit 91bfa01) * Add restore level safeguards to prevent file cache oversubscription (#8606) Signed-off-by: Kunal Kotwani <[email protected]> (cherry picked from commit a3aab67)
Hi @kotwanikunal and @andrross from the implementation this is what I understood,
for example if If I set the is may understanding correct? and also when can we see expect the release in 2.8 version? |
@Dileep-Dora Your understanding is correct. This feature will be released in the 2.10 version. |
…pensearch-project#8606) Signed-off-by: Kunal Kotwani <[email protected]> Signed-off-by: Kaushal Kumar <[email protected]>
…pensearch-project#8606) Signed-off-by: Kunal Kotwani <[email protected]> Signed-off-by: Ivan Brusic <[email protected]>
…pensearch-project#8606) Signed-off-by: Kunal Kotwani <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Related Issues
Resolves #7033
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.