[ https://issues.apache.org/jira/browse/ZOOKEEPER-4703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761911#comment-17761911 ]
Jane commented on ZOOKEEPER-4703: --------------------------------- I think you are right and since three months have passed, I can fix it for you. Thank you for the issue and the suggested code changes. > Datadir and DatalogDir size are incorrect > ----------------------------------------- > > Key: ZOOKEEPER-4703 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4703 > Project: ZooKeeper > Issue Type: Bug > Components: server > Affects Versions: 3.6.1, 3.7.1, 3.8.1 > Reporter: Li Wang > Assignee: Li Wang > Priority: Minor > > Zookeeper server reports incorrect size for DataDir and DataLogDir. > For example, DirCommand returns the following > { > "datadir_size" : 2214592528, > "logdir_size" : 24556680368, > "command" : "dirs", > "error" : null > } > Excepted response: > { > "datadir_size" : 24556680368 > "logdir_size" : 2214592528, > "command" : "dirs", > "error" : null > } > -- This message was sent by Atlassian Jira (v8.20.10#820010)