Wang Xixu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18572 )

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


Patch Set 12:

(6 comments)

> Patch Set 10:
>
> (8 comments)

http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/master/sys_catalog.h
File src/kudu/master/sys_catalog.h:

http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/master/sys_catalog.h@415
PS10, Line 415:   SimpleTableVisitor simple_table_loader_;
> nit: use snake case.
Done


http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/master/sys_catalog.cc
File src/kudu/master/sys_catalog.cc:

http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/master/sys_catalog.cc@1155
PS10, Line 1155:                                       const SysTablesEntryPB& 
metadata) {
> nit: alignment
Done


http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/tools/kudu-admin-test.cc
File src/kudu/tools/kudu-admin-test.cc:

http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/tools/kudu-admin-test.cc@3132
PS10, Line 3132:                                           /*is_secure*/false, 
/*log_to_stderr*/true, part_tables),
> nit: alignment
Done


http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/tools/master_rebuilder.cc
File src/kudu/tools/master_rebuilder.cc:

http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/tools/master_rebuilder.cc@81
PS10, Line 81: using std::set;
             : using std::stri
> nit: keep them in lexicographical order.
Done


http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/tools/master_rebuilder.cc@130
PS10, Line 130:       const auto& table_name = tablet_status_pb.table_name();
> If the table you specified in FLAGS_tables is not found in replicas, report
If a table is not found in replicas, tables_by_name_ will be empty, it will not 
update the sys_catalog.


http://gerrit.cloudera.org:8080/#/c/18572/10/src/kudu/tools/master_rebuilder.cc@167
PS10, Line 167:
> nit: better to judge on filter_tables, since there maybe some invalid chara
Done



--
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: comment
Gerrit-Change-Id: I45d812c8a16228ac937603872161969eb05136eb
Gerrit-Change-Number: 18572
Gerrit-PatchSet: 12
Gerrit-Owner: Wang Xixu <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Wang Xixu <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Comment-Date: Mon, 27 Jun 2022 02:55:17 +0000
Gerrit-HasComments: Yes

Reply via email to