hangc0276 commented on code in PR #4104:
URL: https://github.com/apache/bookkeeper/pull/4104#discussion_r1372699004


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerHandle.java:
##########
@@ -92,6 +92,8 @@
  * write operations to a ledger.
  */
 public class LedgerHandle implements WriteHandle {
+    public static Set<LedgerHandle> INSTANCES = ConcurrentHashMap.newKeySet();

Review Comment:
   Store the LedgerHandle object will bring extra memory overload for the 
client.



-- 
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]

Reply via email to