pingcap / pingcap/tidb

The TiDB server cannot start because the server clock is set to Asia/Beijing, and it still fails to start even after modification.

Open
#63,785 2 comments 0 reactions 0 assignees View on GitHub
contribution first-time-contributor sig/sql-infra type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

1 Set the server time zone to Asia/Beijing
2 Install the TiDB cluster and start TiDB. At this point, the TiDB Server fails to start, reporting an error related to the time zone.
3 Change the time zone: sudo timedatectl set-timezone Asia/Shanghai
4 Restart TiDB, but the same error still occurs.
5 Destroy the TiDB cluster and reinstall it. This time, the startup is successful.

### 2. What did you expect to see? (Required)
After executing sudo timedatectl set-timezone Asia/Shanghai, TiDB should automatically recognize the correct time zone and start normally.

### 3. What did you see instead (Required)
Even after using sudo timedatectl set-timezone Asia/Shanghaito modify the time zone, TiDB still cannot start normally and requires redeploying the cluster.

### 4. What is your TiDB version? (Required)
TiDB v8.5.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.