You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Wang Xixu (Code Review)" <ge...@cloudera.org> on 2022/07/04 04:54:38 UTC

[kudu-CR] [Tools] Rebuild master according to part of tables not all tables

Hello Tidy Bot, Yingchun Lai, Yifan Zhang, Kudu Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/18572

to look at the new patch set (#14).

Change subject: [Tools] Rebuild master according to part of tables not all tables
......................................................................

[Tools] Rebuild master according to part of tables not all tables

Current function unsafe_rebuild will get all tables's meta data
from tservers, and rebuild a new sys table. The cost is very
high when only part of tables got damaged.

This patch will rebuild master with configured tables. That
means if some tables meta data get damaged, it only needs to
repair these damaged tables meta data.

Change-Id: I45d812c8a16228ac937603872161969eb05136eb
---
M src/kudu/master/master.h
M src/kudu/master/sys_catalog.cc
M src/kudu/master/sys_catalog.h
M src/kudu/tools/kudu-admin-test.cc
M src/kudu/tools/master_rebuilder.cc
M src/kudu/tools/master_rebuilder.h
M src/kudu/tools/tool_action_master.cc
7 files changed, 234 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/72/18572/14
-- 
To view, visit http://gerrit.cloudera.org:8080/18572
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I45d812c8a16228ac937603872161969eb05136eb
Gerrit-Change-Number: 18572
Gerrit-PatchSet: 14
Gerrit-Owner: Wang Xixu <14...@qq.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Wang Xixu <14...@qq.com>
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Reviewer: Yingchun Lai <ac...@gmail.com>