You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/01/13 08:23:24 UTC
[GitHub] reddycharan opened a new issue #978: decouple metaformat cmd
reddycharan opened a new issue #978: decouple metaformat cmd
URL: https://github.com/apache/bookkeeper/issues/978
**FEATURE REQUEST**
1. Please describe the feature you are requesting.
'metaformat' command does both nuking and initializing new Bookkeeper cluster in ZK. But having a omnipotent administrative commands with multi-purpose functionality is not desirable and too risky. Moreover there aren't enough checks in 'metaformat' to make sure that we are nuking the right cluster data in ZK which is even more dangerous. Also the current 'metaformat' command doesn't complains if the bookies are connected to the ZK while the 'metaformat' command is being executed, which leads to mismatched instanceids and consequently failure of bookie startup when it is restarted later. Hence we added new set of commands with decoupled functionality and more checks to not to make it error-prone.
- introduce new commands - initnewcluster, nukeexistingcluster, whatisinstanceid
- add testcases initnewcluster and nukeexistingcluster at BookKeeperAdmin level
2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
must-have feature since in our env. a ZK cluster can be used for multiple Bookie clusters and by other services also. Hence, these BookieShell commands should be more robust and granular.
3. Provide any additional detail on your proposed use case for this feature.
4. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:
- [ ] [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1 discription here,
- [ ] [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2 discription here,
- ...
Proposal PR - #<pr-number>
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services