Skip to content

Commit

Permalink
set default disk tier size to 100 mb
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Alfonsi <[email protected]>
  • Loading branch information
Peter Alfonsi committed Dec 12, 2023
1 parent 24b5f14 commit 1c1a2b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ public final class IndicesRequestCache implements TieredCacheEventListener<Indic

public static final Setting<ByteSizeValue> INDICES_CACHE_DISK_TIER_SIZE = Setting.memorySizeSetting(
"index.requests.cache.tiered.disk.size",
new ByteSizeValue(10, ByteSizeUnit.GB), // TODO: This is a random value - what should it be??
new ByteSizeValue(100, ByteSizeUnit.MB),
Property.NodeScope
);
); // TODO: This is 1% of the minimum EBS size for most EC2 instances. In future set to 1% of actual disk size if possible

public static final Setting<Double> INDICES_CACHE_DISK_STALE_KEY_THRESHOLD = Setting.doubleSetting(
"index.requests.cache.tiered.disk.stale_cleanup_threshold",
Expand Down

0 comments on commit 1c1a2b5

Please sign in to comment.