Yingchun Lai has uploaded this change for review. ( 
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 will open FsManager at first,
it will cost a long time if there are many block containers.
In some cases we need to rewrite a batch of raft configs
(e.g. 2 tservers permanently failed in a 3 tservers cluster),
the current rewrite_raft_config tool only support rewrite
replica's raft config one by one, it may cost dozens of hours.

The patch support to open FsManager once and print or rewrite
cmeta by batch,

Change-Id: I33dcbf5704bce4265eae0bed0f4296d17e352780
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_local_replica.cc
2 files changed, 121 insertions(+), 55 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/04/17804/1
--
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: newchange
Gerrit-Change-Id: I33dcbf5704bce4265eae0bed0f4296d17e352780
Gerrit-Change-Number: 17804
Gerrit-PatchSet: 1
Gerrit-Owner: Yingchun Lai <acelyc1112...@gmail.com>

Reply via email to