Yingchun Lai has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18496 )

Change subject: [tools] update schema if needed when rebuild master
......................................................................


Patch Set 3:

(5 comments)

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

http://gerrit.cloudera.org:8080/#/c/18496/2/src/kudu/tools/kudu-admin-test.cc@3040
PS2, Line 3040: int tserver_num,
> What if passing just the number of tablet servers here to be used for the u
Done


http://gerrit.cloudera.org:8080/#/c/18496/2/src/kudu/tools/kudu-admin-test.cc@3205
PS2, Line 3205: ut;
> newer
Done


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

http://gerrit.cloudera.org:8080/#/c/18496/2/src/kudu/tools/master_rebuilder.cc@228
PS2, Line 228:   auto cleanup = MakeScopedCleanup([&]() {
             :     // Return with non-OK status is not fatal, so still 
CommitMutation.
             :     t
> So, we want to commit the mutation even if returning with an error from thi
Yes, since return with non-OK status is not fatal, so still CommitMutation.


http://gerrit.cloudera.org:8080/#/c/18496/2/src/kudu/tools/master_rebuilder.cc@248
PS2, Line 248:
> Check for the consistency.
Done


http://gerrit.cloudera.org:8080/#/c/18496/2/src/kudu/tools/master_rebuilder.cc@250
PS2, Line 250:   // Only matched when they have the same version.
             :   if (replica.has_schema_version() &&
> For better readability, add early return here if the condition isn't true.
Done



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iec99d57115228b521ba645b8e19c7057a4bb5d3d
Gerrit-Change-Number: 18496
Gerrit-PatchSet: 3
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Comment-Date: Sat, 07 May 2022 04:15:14 +0000
Gerrit-HasComments: Yes

Reply via email to