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

Change subject: WIP [ksck] report on misconfiguration of time source flags
......................................................................


Patch Set 1:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/15298/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/15298/1//COMMIT_MSG@10
PS1, Line 10: Particularly, with this patch
            : ksck issues a warning if different masters or different servers 
have
            : different settings for the following flags:
            :   * --time_source
            :   * --builtin_ntp_servers
Why is it important that all masters or all tservers share the same values for 
these flags? Moreover, if it's important, shouldn't we enforce that _all 
servers_ share those values, rather than all masters in one check and all 
tservers in another?


http://gerrit.cloudera.org:8080/#/c/15298/1//COMMIT_MSG@20
PS1, Line 20:   * collect feedback on this approach: maybe, a better option is 
to
            :     introduce new RPC methods into the GenericService interface
            :     (see src/kudu/server/server_base.proto for details)?
FWIW, I think this flag-based approach is a good one.


http://gerrit.cloudera.org:8080/#/c/15298/1/src/kudu/tools/ksck.h
File src/kudu/tools/ksck.h:

http://gerrit.cloudera.org:8080/#/c/15298/1/src/kudu/tools/ksck.h@598
PS1, Line 598:   // Check for the consistent settings of the time 
source-related flags among
             :   // all tablet servers in the cluster.
             :   // Must first call FetchInfoFromTabletServers().
             :   Status CheckTabletServerTimeSourceFlags();
I like this, but can you restructure the code so that it's not specific to 
time-related flags? I can see us gradually adding more and more flags to this 
list, so that we can enforce that those flags have equal values across the 
entirety of the cluster. We can certainly start with these time flags, but 
ultimately the approach is generic.



--
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: 1
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Volodymyr Verovkin <[email protected]>
Gerrit-Comment-Date: Wed, 26 Feb 2020 19:26:37 +0000
Gerrit-HasComments: Yes

Reply via email to