hangc0276 commented on code in PR #3522:
URL: https://github.com/apache/bookkeeper/pull/3522#discussion_r999595774
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieImpl.java:
##########
@@ -112,7 +112,7 @@ public class BookieImpl extends BookieCriticalThread
implements Bookie {
private int exitCode = ExitCode.OK;
- private final ConcurrentLongHashMap<byte[]> masterKeyCache =
+ private static final ConcurrentLongHashMap<byte[]> MASRER_KEY_CACHE =
Review Comment:
Do we need to enable the auto-shrink feature of ConcurrentLongHashMap?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]