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

Change subject: [WIP] KUDU-2242 Wait for NTP synchronization on startup
......................................................................


Patch Set 1:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/10548/1/src/kudu/clock/system_ntp.cc
File src/kudu/clock/system_ntp.cc:

http://gerrit.cloudera.org:8080/#/c/10548/1/src/kudu/clock/system_ntp.cc@42
PS1, Line 42: DEFINE_uint32(ntp_initial_sync_wait_secs, 60,
Should probably tag this as advanced and evolving.


http://gerrit.cloudera.org:8080/#/c/10548/1/src/kudu/clock/system_ntp.cc@119
PS1, Line 119:   Status s = FindExecutable("ntp-wait", {"/sbin", "/usr/sbin"}, 
&exe);
Why do we need to explicitly search in /sbin and /usr/sbin? Is it because 
they're not guaranteed to be on PATH and thus "which" might not find them?


http://gerrit.cloudera.org:8080/#/c/10548/1/src/kudu/clock/system_ntp.cc@121
PS1, Line 121:     cmd = {exe, "-s", "1", "-n", std::to_string(n)};
Could you doc the effects of these options?

On L130 too.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6082c5d35ed0d230d91c61734e7b5a351e50933b
Gerrit-Change-Number: 10548
Gerrit-PatchSet: 1
Gerrit-Owner: Will Berkeley <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Will Berkeley <[email protected]>
Gerrit-Comment-Date: Wed, 30 May 2018 21:07:47 +0000
Gerrit-HasComments: Yes

Reply via email to