Skip to content

Commit

Permalink
Update IndicesRequestCache.java
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <[email protected]>
  • Loading branch information
kiranprakash154 committed Apr 28, 2024
1 parent eb02b2f commit 7d3f1ef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ private synchronized void cleanCache(double stalenessThreshold) {
}

Set<List<String>> dimensionListsToDrop = new HashSet<>();

for (Iterator<ICacheKey<Key>> iterator = cache.keys().iterator(); iterator.hasNext();) {
ICacheKey<Key> key = iterator.next();
if (cleanupKeysFromClosedShards.contains(key.key.shardId)) {
Expand Down

0 comments on commit 7d3f1ef

Please sign in to comment.