yzang commented on issue #266: Issue 265: Add persistable bookie status
URL: https://github.com/apache/bookkeeper/pull/266#issuecomment-317633621
 
 
   One of the original goals of persisting bookie status was to make it 
possible in the future to set the bookie to read only through http endpoint and 
persist the status so that even after the bookie is restarted, it should still 
run in read only mode.
   
   However, after a second thought, I think the current this commit itself is 
probably not able to achieve this goal, because when a bookie start, it restore 
the read only status from disk, it will still transition to writable state as 
the DiskChecker runs and detect there's writable disk.
   
   So I think maybe in the future, we need to add another status in the file to 
represent forceReadonlyMode, what do you think? @sijie 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to