Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any other side effects when the system clock differs on each node #9768

Closed
rinsozheng opened this issue May 24, 2018 · 3 comments
Closed

Comments

@rinsozheng
Copy link

Please read https://github.com/coreos/etcd/blob/master/Documentation/reporting_bugs.md.

We are running 3 ETCD nodes, the time on each node synced with NTP server, while for some time, the operation system clock differs with each other(because of NTP network issue on some nodes), it keeps getting the below information from the logs:

2018-05-23 17:00:29.475936 W | rafthttp: the clock difference against peer 5bd0394181f135dd is too high [10.449391606s > 1s]
2018-05-23 17:00:59.476151 W | rafthttp: the clock difference against peer 5bd0394181f135dd is too high [10.449443811s > 1s]
2018-05-23 17:01:29.476315 W | rafthttp: the clock difference against peer 5bd0394181f135dd is too high [10.449597395s > 1s]
2018-05-23 17:01:59.476514 W | rafthttp: the clock difference against peer 5bd0394181f135dd is too high [10.449581152s > 1s]

Right now, we can only see the log warnings above, there is no leader election/data replication issues happen so far.

My question here is: Is there any other side effects if the system clock differs, can we just ignore such information?

./etcd --version

etcd Version: 3.2.7
Git SHA: bb66589
Go Version: go1.8.3
Go OS/Arch: linux/amd64

@xiang90
Copy link
Contributor

xiang90 commented May 24, 2018

you should fix your clock. or TTL or lease might be effected.

@xiang90 xiang90 closed this as completed May 24, 2018
@rinsozheng
Copy link
Author

Thanks!

@pjhdld
Copy link

pjhdld commented Mar 11, 2020

你应该修理时钟。或TTL或租约。

@xiang90
I want to know what is the different impact of each node clock, TTL or lease? Or will it cause other problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants