Error
Error Code:
106
MongoDB Error 106: Distributed Clock Skewed
Description
Error 106, "Distributed Clock Skewed," indicates that the system clocks on different nodes within your MongoDB replica set or sharded cluster are out of synchronization. This discrepancy can lead to data inconsistency, transaction failures, and incorrect ordering of operations, severely impacting the reliability of your distributed database.
Error Message
Distributed Clock Skewed
Known Causes
3 known causesNTP Service Misconfiguration
The Network Time Protocol (NTP) service might be improperly configured or not running on one or more servers, preventing automatic and accurate time synchronization.
Manual Time Adjustments
Direct manual changes to system clocks on individual cluster members can introduce immediate and significant time differences, overriding automatic synchronization.
Virtual Machine Time Drift
Virtual machines can experience time drift if their host system or guest OS is not correctly configured for time synchronization, especially under varying loads.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service