zhaijack commented on a change in pull request #936: Issue 897: un-bind
zookeeper from bookkeeper admin
URL: https://github.com/apache/bookkeeper/pull/936#discussion_r159361963
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/RegistrationManager.java
##########
@@ -104,4 +105,27 @@ RegistrationManager initialize(ServerConfiguration conf,
* @throws BookieException when fail to remove cookie
*/
void removeCookie(String bookieId, Version version) throws BookieException;
+
+ /**
+ * Gets layout manager.
+ *
+ * @return the layout manager
+ */
+ LayoutManager getLayoutManager();
+
+ /**
+ * Prepare ledgers root node, availableNode, readonly node..
+ *
+ * @param conf the conf
+ * @return Returns true if old data exists, false if not.
+ */
+ boolean prepareFormat(ServerConfiguration conf) throws Exception;
+
+ /**
+ * Do format boolean.
+ *
+ * @param conf the conf
+ * @return Returns true if success do format, false if not.
+ */
+ boolean doFormat(ServerConfiguration conf) throws Exception;
Review comment:
Thanks, will change it.
----------------------------------------------------------------
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