WonderMing13 commented on issue #3245:
URL: https://github.com/apache/rocketmq/issues/3245#issuecomment-1042596195


   > > @aaron-ai What is the variable roundNum mean? Is the variable 
entireSpace can replace variable totalSpace? I don't understand this code, can 
you give me some pointers?
   > 
   > The roundNum is used to round up. For why not use totalSpace, you need to 
understand the difference between File.getFreeSpace() and 
File.getUsableSpace(), refer to: 
https://stackoverflow.com/questions/21439596/difference-between-getfreespace-and-getusablespace-of-file
   
   Thank you very much for figuring it out according to your instructions.


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