Andrew Wong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/15298 )

Change subject: [ksck] report on misconfiguration for flag categories
......................................................................


Patch Set 4: Code-Review+1

(1 comment)

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

http://gerrit.cloudera.org:8080/#/c/15298/4/src/kudu/tools/ksck-test.cc@152
PS4, Line 152: cat < FlagsCategory::MAX
Should this be

 for (size_t cat = FlagsCategory::MIN; cat <= FlagsCategory::MAX; ++cat) {

? Though I suppose it doesn't matter much since this is a test.

Or define an ARRAY_SIZE = MAX + 1 like we do for protobuf? Might be worth doing 
given the current usages.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I2afbfac9327f85b212ecf8d8f43a2139f90db6bb
Gerrit-Change-Number: 15298
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Volodymyr Verovkin <[email protected]>
Gerrit-Comment-Date: Wed, 11 Mar 2020 04:01:43 +0000
Gerrit-HasComments: Yes

Reply via email to