This repository was archived by the owner on Jun 24, 2021. It is now read-only.
This repository was archived by the owner on Jun 24, 2021. It is now read-only.
remove(or deprecate) 'timezone' item in 'inventory.ini' #1106
Open
Description
The 'timezone' item in the current configuration file can be used to determine systemTZ
and system_time_zone
at the first bootstrap stage(eg. start from zero) of a TiDB cluster. However, after the first bootstrap, those two variables become read-only and never change for a cluster, more detailed information can be referenced as follows:
- https://github.com/pingcap/tidb/blob/master/docs/design/2018-09-10-adding-tz-env.md
- server: set
system_time_zone
fromsystem_tz
tidb#13934
So, end-users may try to change 'timezone' for an existing TiDB cluster, for example, when doing a rolling-upgrade operation, but found nothing changes: 'timezone' can be confusing and misleading.
For the reason above it's better to remove 'timezone' in TiDB-Ansible, which lead the end-users to the configurations with explicit semantic, like the 'time_zone' system parameter in TiDB.
Metadata
Metadata
Assignees
Labels
No labels