Thursday, May 19, 2016

Mongo DistributedClockSkewed clock skew of the cluster

Asyiknya programer tuh gini ,
Lagi mulai kenalan sama yang namanya mongo cluster lalu dapat error kayak gini :

2016-05-19T14:54:59.755+0700 E -        [mongosMain] error upgrading config database to v6 :: caused by :: DistributedClockSkewed clock skew of the cluster edu-mc1:27019,edu-mc2:27019,edu-mc3:27019 is too far out of bounds to allow distributed locking.


Ternyata solusinya super simple running command berikut dimasing masing server :

ntpdate ntp.ubuntu.com

Command itu digunakan untuk mensincronisasi waktu di masing2 server agar sama.

;-)

No comments :

Post a Comment