anmolnar commented on code in PR #2130:
URL: https://github.com/apache/zookeeper/pull/2130#discussion_r1774106580


##########
zookeeper-server/src/main/java/org/apache/zookeeper/server/ZKDatabase.java:
##########
@@ -151,7 +158,24 @@ public ZKDatabase(FileTxnSnapLog snapLog) {
                 DEFAULT_COMMIT_LOG_COUNT);
             commitLogCount = DEFAULT_COMMIT_LOG_COUNT;
         }
-        LOG.info("{}={}", COMMIT_LOG_COUNT, commitLogCount);
+        try {
+            commitLogSize = Double.parseDouble(

Review Comment:
   Makes sense to me and I think it's doable in this PR too since we're already 
touching this part. The parser is already merged and could be easily shared.



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