anmolnar commented on code in PR #2130: URL: https://github.com/apache/zookeeper/pull/2130#discussion_r1774108172
########## 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: Will `Double.parseDouble()` accept floating point numbers from the config? Shouldn't we prevent that? -- 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: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org