sijie commented on a change in pull request #266: Issue 265: Add persistable bookie status URL: https://github.com/apache/bookkeeper/pull/266#discussion_r129104958
########## File path: bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Bookie.java ########## @@ -149,6 +150,8 @@ private volatile boolean running = false; // Flag identify whether it is in shutting down progress private volatile boolean shuttingdown = false; + // Bookie status + private BookieStatus bookieStatus = new BookieStatus(); Review comment: @jvrao : this allows turn a bookie to readonly or writable on-the-fly and keep the bookie status regarding restarts. so you can hook this with http endpoint and your deployment/administration tools to do automatic operations. ---------------------------------------------------------------- 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