sijie commented on a change in pull request #1667: Utility to dump/restore
ledger metadata to/from file
URL: https://github.com/apache/bookkeeper/pull/1667#discussion_r216060338
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
##########
@@ -1115,6 +1095,8 @@ public void operationComplete(int rc, LedgerMetadata
result) {
LedgerMetadataCmd() {
super(CMD_LEDGERMETADATA);
lOpts.addOption("l", "ledgerid", true, "Ledger ID");
+ lOpts.addOption("dumptofile", true, "Dump metadata for ledger, to
a file");
Review comment:
shall we add validation that `dumptofile` and `restorefromfile` are mutually
exclusive
----------------------------------------------------------------
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