Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/14301 )

Change subject: [clock] move clock sync wait into HybridClock::Init()
......................................................................

[clock] move clock sync wait into HybridClock::Init()

This patch moves the logic to await on clock synchronisation from
SystemNtp::Init() into HybridClock::Init().  This is to consolidate
and reuse the logic for other clock sources, such as built-in NTP client
coming with one of follow-up patches.

Change-Id: I4bc5d3160a68932a31cde5ff221f74452bb14a21
Reviewed-on: http://gerrit.cloudera.org:8080/14301
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/clock/hybrid_clock.cc
M src/kudu/clock/system_ntp.cc
M src/kudu/clock/time_service.h
3 files changed, 52 insertions(+), 64 deletions(-)

Approvals:
  Alexey Serbin: Verified
  Adar Dembo: Looks good to me, approved

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4bc5d3160a68932a31cde5ff221f74452bb14a21
Gerrit-Change-Number: 14301
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>

Reply via email to