Skip to content

Commit

Permalink
cleanup related entries
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <[email protected]>
  • Loading branch information
kiranprakash154 committed May 15, 2024
1 parent 30adc77 commit dd14e49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _search-plugins/caching/tiered-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,11 @@ The following table lists additional settings for the `tiered_spillover` store s
| `indices.request.cache.tiered_spillover.disk.store.policies.took_time.threshold` | Time unit | `10ms` | A policy used to determine whether to cache a query into a disk cache based on its took time. This is a dynamic setting. Optional. |
| `indices.request.cache.tiered_spillover.disk.store.enabled` | Boolean | `True` | Enables or disables the disk cache dynamically within a tiered spillover cache. Note: After disabling a disk cache, entries are not removed automatically and requires the cache to be manually cleared. Optional. |

### Configuring Cleanup

Check failure on line 94 in _search-plugins/caching/tiered-cache.md

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.HeadingCapitalization] 'Configuring Cleanup' is a heading and should be in sentence case. Raw Output: {"message": "[OpenSearch.HeadingCapitalization] 'Configuring Cleanup' is a heading and should be in sentence case.", "location": {"path": "_search-plugins/caching/tiered-cache.md", "range": {"start": {"line": 94, "column": 5}}}, "severity": "ERROR"}

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. |

0 comments on commit dd14e49

Please sign in to comment.