Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17804 )
Change subject: [tool] Support to rewrite and print cmeta by batch ...................................................................... [tool] Support to rewrite and print cmeta by batch Both print and rewrite cmeta is operate on a single tablet, it will cost a very long time if there are thousands of block containers to rewrite. In some cases we need to rewrite a batch of raft configs (e.g. 2 tservers permanently failed in a 3 tservers cluster). This patch adds support to open FsManager once and print or rewrite cmeta by batch. Change-Id: I33dcbf5704bce4265eae0bed0f4296d17e352780 Reviewed-on: http://gerrit.cloudera.org:8080/17804 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> Reviewed-by: Andrew Wong <[email protected]> --- M src/kudu/integration-tests/master_failover-itest.cc M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_local_replica.cc 3 files changed, 127 insertions(+), 59 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved; Verified Andrew Wong: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/17804 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I33dcbf5704bce4265eae0bed0f4296d17e352780 Gerrit-Change-Number: 17804 Gerrit-PatchSet: 5 Gerrit-Owner: Yingchun Lai <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Yingchun Lai <[email protected]>
