TiDB Operator 1.3.1 Release Notes
Release date: February 24, 2022
TiDB Operator version: 1.3.1
Compatibility Change
Due to the issues in #4434 and #4435, if you have deployed TiFlash v5.4.0 or later versions when using TiDB Operator v1.3.0 or v1.3.0-beta.1, you must upgrade TiDB Operator by taking the following steps to avoid TiFlash losing metadata.
In TidbCluster spec, if the
storage.rafe.dirandraft.kvstore_pathfields in TiFlash's configspec.tiflash.config.configare not explicitly configured, you need to add thestorage.raft.dirfield. Ifstorage.main.diris not explicitly configured, you need to add the field.spec: # ... tiflash: config: config: | # ... [storage] [storage.main] dir = ["/data0/db"] [storage.raft] dir = ["/data0/db/kvstore/"]Upgrade TiDB Operator.
New Feature
- Add a new field
spec.dnsPolicyto support configuringDNSPolicyfor Pods (#4420, @handlerww)
Improvement
tidb-lightningHelm chart useslocalbackend as the default backend (#4426, @KanShiori)
Bug fixes
Fix the issue that if the
raft.kvstore_pathfield or thestorage.raft.dirfield is not set in TiFlash's config, TiFlash will lose metadata after upgrading TiFlash to v5.4.0 or later versions when using TiDB Operator v1.3.0 or v1.3.0-beta.1 (#4430, @KanShiori)Fix the issue that TiFlash v5.4.0 or later versions does not work if the
tmp_pathfield is not set in TiFlash's config when using TiDB Operator v1.3.0 or v1.3.0-beta.1 (#4430, @KanShiori)Fix the issue that TiDB cluster's PD components failed to start due to discovery service errors (#4440, @liubog2008)