[TiDB Usage Environment]
Production Environment
[TiDB Version]
v7.1.0
[Reproduction Path] Operations performed that led to the issue
System restart.
[Encountered Issue: Symptoms and Impact]
TiDB, PD, and KV cannot start. Both PD and KV logs contain a “system time jump backward” error. Checking the system log shows:
[2023/10/31 16:42:22.651 +08:00] [ERROR] [systimemon.go:38] [“system time jump backward”] [last=1698741767902844769] [error=“[PD:common:ErrIncorrectSystemTime]incorrect system time”]
[2023/10/31 16:42:22.651 +08:00] [ERROR] [server.go:556] [“system time jumps backward”] [error=“[PD:common:ErrIncorrectSystemTime]incorrect system time”]
[Resource Configuration] Navigate to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachment: Screenshot/Logs/Monitoring]
Before installing the TiDB cluster, you need to configure time synchronization for each node machine. Refer to the following link for checking and installing the NTP service: TiDB 环境与系统配置检查 | PingCAP 文档中心
clocksource= Override the default clocksource
Format: <string>
Override the default clocksource and use the clocksource
with the name specified.
Some clocksource names to choose from, depending on
the platform:
[all] jiffies (this is the base, fallback clocksource)
[ACPI] acpi_pm
...
[X86-64] hpet,tsc