-
Notifications
You must be signed in to change notification settings - Fork 507
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 more settings for Indices Request Cache #7160
Add more settings for Indices Request Cache #7160
Conversation
0e665e4
to
dd14e49
Compare
dd14e49
to
91fe9bc
Compare
indices.request.cache.store.name: tiered_spillover: true | ||
indices.request.cache.store.name: tiered_spillover |
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.
@hdhalter This is a bug
### Configuring cleanup | ||
|
||
The following table lists the settings related to deletion of stale entries from the cache. | ||
|
||
| Setting | Data type | Default | Description | | ||
|:-----------------------------------------------------|:----------|:--------|:------------------------------------------------------------------------------------------------------------| | ||
| `indices.requests.cache.cleanup.staleness_threshold` | String | `0%` | Defines the percentage of stale keys in the cache post which all stale cache entries are deleted. Optional. | | ||
| `indices.requests.cache.cleanup.interval` | Time unit | `1m` | Defines the frequency at which the request cache's stale entries are deleted. Optional. | |
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.
These are the changes I'm introducing as new settings
|
||
| Setting | Data type | Default | Description | | ||
|:-----------------------------------------------------|:----------|:--------|:------------------------------------------------------------------------------------------------------------| | ||
| `indices.requests.cache.cleanup.staleness_threshold` | String | `0%` | Defines the percentage of stale keys in the cache post which all stale cache entries are deleted. Optional. | |
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.
| `indices.requests.cache.cleanup.staleness_threshold` | String | `0%` | Defines the percentage of stale keys in the cache post which all stale cache entries are deleted. Optional. | | |
| `indices.requests.cache.cleanup.staleness_threshold` | String | `0%` | Defines the percentage of stale keys in the cache. After identification, all stale cache entries are deleted. Optional. | |
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.
I dont think post. All
makes sense.
What i meant to say is
Defines the percentage of stale keys in the cache after which all stale cache entries are deleted
3b5b3ea
to
8748d51
Compare
Hi @Naarcha-AWS , I have addressed all your comments, can you review again ? |
Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Kiran Prakash <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]> Signed-off-by: Kiran Prakash <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
66bbae8
to
750f5eb
Compare
Signed-off-by: Naarcha-AWS <[email protected]>
* formatting changes recommended by IDE Signed-off-by: Kiran Prakash <[email protected]> * bug fix Signed-off-by: Kiran Prakash <[email protected]> * cleanup related entries Signed-off-by: Kiran Prakash <[email protected]> * formatting changes recommended by IDE Signed-off-by: Kiran Prakash <[email protected]> * cleanup related entries Signed-off-by: Kiran Prakash <[email protected]> * Update tiered-cache.md Signed-off-by: Kiran Prakash <[email protected]> * revert table settings Signed-off-by: Kiran Prakash <[email protected]> * cleanup settings Signed-off-by: Kiran Prakash <[email protected]> * Update _search-plugins/caching/tiered-cache.md Co-authored-by: Naarcha-AWS <[email protected]> Signed-off-by: Kiran Prakash <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <[email protected]> --------- Signed-off-by: Kiran Prakash <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]> Co-authored-by: Naarcha-AWS <[email protected]> (cherry picked from commit fdf6967) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Add more settings related to cleanup of Indices Request Cache
Issues Resolved
#6300
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.