Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14456
Change subject: [clock] handle corner case of NowWithError() in Update() ...................................................................... [clock] handle corner case of NowWithError() in Update() This patch addresses the corner case of HybridClock::NowWithError() in HybridClock::Update(), accounting for the higher error threshold than specified with the --max_clock_sync_error_usec flag. The corner case is about the situation when physical timestamp candidate derived from current readings of the wallclock is not ahead of the next scheduled timestamp. In that case, the estimated error returned from HybridClock::NowWithError() might be higher than returned by HybridClock::WalltimeWithError(). Change-Id: I701eed492442bc6360d4c8f02f1bfc3ee96a3b90 --- M src/kudu/clock/hybrid_clock.cc 1 file changed, 11 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/56/14456/1 -- To view, visit http://gerrit.cloudera.org:8080/14456 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I701eed492442bc6360d4c8f02f1bfc3ee96a3b90 Gerrit-Change-Number: 14456 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
