wenbingshen opened a new pull request, #3285:
URL: https://github.com/apache/bookkeeper/pull/3285

   ### Motivation
   
   When `diskUsageThreshold < diskUsageLwmThreshold`, the bookie can be started 
normally. When the disk usage reaches `diskUsageThreshold` , bookie will 
automatically switch to `ReadOnly` mode. The `LedgerDirsMonitor` then switches 
the bookie back to  `read-write` mode since the disk usage is less than 
`diskUsageLwmThreshold`, the bookie will switch state back and forth frequently.
   
   ### Changes
   When creating `LedgerDirsMonitor`, we need to validate `diskUsageThreshold` 
and `diskUsageLwmThreshold` first.
   


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