Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20626


Change subject: WIP [clock] adapt the code to work at systems using PTP
......................................................................

WIP [clock] adapt the code to work at systems using PTP

WIP:
  * file an upstream Kudu JIRA about the issue
  * update the description, adding more details, if needed

There was an earlier attempt to address the issue [1], but the fix
hasn't received +2 since there was not enough evidence behind the
root cause of the issue.  With the report on #kudu-general Slack
channel, from the analysis of the code [3] it's easy to see there isn't
any other way to get the problem manifest itself as reported but
a negative value for the 'maxerror' field of the 'timex' structure.

[1] https://gerrit.cloudera.org/#/c/12149/
[2] https://getkudu.slack.com/archives/C0CPXJ3CH/p1698246065354269
[3] 
https://github.com/apache/kudu/blob/04fdbd0974f4418295d57c0daa4b67de3e777a43/src/kudu/clock/hybrid_clock.cc#L627-L706

Change-Id: Ibbe1a50c4857b9742d2ffde35440d0dee082edc0
---
M src/kudu/clock/builtin_ntp.cc
M src/kudu/clock/hybrid_clock.cc
M src/kudu/clock/system_ntp.cc
3 files changed, 27 insertions(+), 15 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/26/20626/1
--
To view, visit http://gerrit.cloudera.org:8080/20626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibbe1a50c4857b9742d2ffde35440d0dee082edc0
Gerrit-Change-Number: 20626
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to