Skip to content
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

Adds cluster setting to allow caching requests with size>0 in request cache #16484

Merged
merged 10 commits into from
Nov 1, 2024
Merged
Prev Previous commit
Next Next commit
make canCacheSizeNonzeroRequests volatile
Signed-off-by: Peter Alfonsi <petealft@amazon.com>
  • Loading branch information
Peter Alfonsi committed Oct 28, 2024
commit 3258000b79092cc669f1a335197e8d359368f21f
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public class IndicesService extends AbstractLifecycleComponent
private final FileCache fileCache;
private final CompositeIndexSettings compositeIndexSettings;
private final Consumer<IndexShard> replicator;
private boolean canCacheSizeNonzeroRequests;
private volatile boolean canCacheSizeNonzeroRequests;

@Override
protected void doStart() {
Expand Down
Loading