fantapsody commented on pull request #2799:
URL: https://github.com/apache/bookkeeper/pull/2799#issuecomment-922766609


   > what happens if you restart the bookie ?
   
   @eolivelli It depends on the value of the config 
`persistBookieStatusEnabled`. If it is set to true, the state will be persisted 
to disk and be restored after restarted. However, the state might still be 
changed by the `LedgerDirsMonitor`, and I plan to persist the reason for the 
state change and use that information to decide whether the state could be 
changed by `LedgerDirsMonitor`. That may require the change of how to save & 
load the bookie status so I plan to leave it to further PRs.


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