sijie commented on a change in pull request #873: Issue280: Turn bookie into 
readonly when sortedLedgerStorage failed to flush data
URL: https://github.com/apache/bookkeeper/pull/873#discussion_r157924302
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Bookie.java
 ##########
 @@ -1446,6 +1304,153 @@ public LedgerStorage getLedgerStorage() {
         return ledgerStorage;
     }
 
+    /**
+     * A implementation of StateManager.
+     */
+    public class BookieStateManager implements StateManager{
+        // use an executor to execute the state changes task
+        final ExecutorService stateService = Executors.newSingleThreadExecutor(
+                new 
ThreadFactoryBuilder().setNameFormat("BookieStateManagerService-%d").build());
+        final BookieStatus bookieStatus;
+        RegistrationManager registrationManager;
 
 Review comment:
   make this final?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to