Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <awskiran@amazon.com>
  • Loading branch information
kiranprakash154 committed Apr 25, 2024
1 parent e12b12f commit 98c664c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void onRemoval(RemovalNotification<Key, BytesReference> notification) {
Key key = notification.getKey();
cacheEntityLookup.apply(key.shardId).ifPresent(entity -> entity.onRemoval(notification));
CleanupKey cleanupKey = new CleanupKey(cacheEntityLookup.apply(key.shardId).orElse(null), key.readerCacheKeyId);
cacheCleanupManager.updateStaleCountOnEntryRemoval(cleanupKey, newNotification);
cacheCleanupManager.updateStaleCountOnEntryRemoval(cleanupKey, notification);
}

BytesReference getOrCompute(
Expand Down

0 comments on commit 98c664c

Please sign in to comment.