Skip to content

Commit

Permalink
update updateCleanupKeyToCountMap on new cache entry
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <[email protected]>
  • Loading branch information
kiranprakash154 committed Mar 12, 2024
1 parent b81aea6 commit 0156877
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ BytesReference getOrCompute(
OpenSearchDirectoryReader.addReaderCloseListener(reader, cleanupKey);
}
}
cacheCleanupManager.updateCleanupKeyToCountMap(cleanupKey);
} else {
cacheEntity.onHit();
}
Expand Down

0 comments on commit 0156877

Please sign in to comment.