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

Change subject: [KUDU-3452] A tool to show on creating tables
......................................................................


Patch Set 5:

(8 comments)

http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/master/catalog_manager.cc
File src/kudu/master/catalog_manager.cc:

http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/master/catalog_manager.cc@3929
PS4, Line 3929: !tablet_lock.data().is_creating()) {
              :           continue;
> tablets in state PREPARING and CREATING are needed, right? how about adding
Good ideal.


http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/master/catalog_manager.cc@3947
PS4, Line 3947:     }
> How about just response pb.state(), transfer to string in CLI tool to reduc
Done


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

http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/kudu-admin-test.cc@1933
PS4, Line 1933:
> nit: just pass '{}'
Done


http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/kudu-admin-test.cc@1983
PS4, Line 1983:     ASSERT_TRUE(s.IsTimedOut()) << s.ToString();
> nit: add one more check, ASSERT_TRUE(s.IsTimedOut()) << s.ToString();
Done


http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/kudu-admin-test.cc@1999
PS4, Line 1999:     ASSERT_STR_CONTAINS(s.ToString(), "Timed out: Timed out 
waiting for AlterTable");
> nit: add one more check, ASSERT_TRUE(s.IsTimedOut()) << s.ToString();
Done


http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/kudu-admin-test.cc@2029
PS4, Line 2029: else if (GetParam() ==
> nit: how about use ASSERT_STR_MATCHES?
It is not suitable. Here needs to check two different kinds of table state.


http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/tool.proto
File src/kudu/tools/tool.proto:

http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/tool.proto@546
PS4, Line 546: 6
> Why skip 6?
Done


http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/tool_action_table.cc
File src/kudu/tools/tool_action_table.cc:

http://gerrit.cloudera.org:8080/#/c/19584/4/src/kudu/tools/tool_action_table.cc@239
PS4, Line 239: bool ValidateListTable() {
> nit: What's the purpose of this limit? To avoid too large output?
When the flag --list_creating_tables is set, other flags is useless. So it no 
needs to set other flags.



--
To view, visit http://gerrit.cloudera.org:8080/19584
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I348b69f48e6ce36ed869097f9f798c5946136de5
Gerrit-Change-Number: 19584
Gerrit-PatchSet: 5
Gerrit-Owner: Wang Xixu <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: KeDeng <[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-Reviewer: Yuqi Du <[email protected]>
Gerrit-Comment-Date: Sun, 02 Apr 2023 08:00:07 +0000
Gerrit-HasComments: Yes

Reply via email to