li4wang commented on code in PR #2043:
URL: https://github.com/apache/zookeeper/pull/2043#discussion_r1300409779


##########
zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java:
##########
@@ -664,7 +664,7 @@ public long getLogDirSize() {
         if (zkDb == null) {
             return 0L;
         }
-        File path = zkDb.snapLog.getSnapDir();
+        File path = zkDb.snapLog.getDataDir();

Review Comment:
   Renamed.
   
   I was debating on that too. Normally we want to handle code refactoring 
separately. I think it's not too bad if we just rename the `getDataDir` to 
`getDataLogDir`



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