- Introduction
- Get Started
- Deploy
- In Self-Managed Kubernetes
- In Public Cloud Kubernetes
- Deploy TiDB on ARM64 Machines
- Deploy TiFlash to Explore TiDB HTAP
- Deploy TiDB Across Multiple Kubernetes Clusters
- Deploy a Heterogeneous TiDB Cluster
- Deploy TiCDC
- Deploy TiDB Binlog
- Monitor and Alert
- Migrate
- Import Data
- Migrate from MySQL
- Migrate TiDB to Kubernetes
- Manage
- Secure
- Scale
- Upgrade
- Upgrade a TiDB Cluster
- Upgrade TiDB Operator
- Backup and Restore
- Overview
- Backup and Restore Custom Resources
- Grant Permissions to Remote Storage
- Amazon S3 Compatible Storage
- Google Cloud Storage
- Azure Blob Storage
- Persistent Volumes
- Maintain
- Restart a TiDB Cluster
- Destroy a TiDB Cluster
- View TiDB Logs
- Modify TiDB Cluster Configuration
- Configure Automatic Failover
- Pause Sync of TiDB Cluster
- Maintain Different TiDB Clusters Separately Using Multiple TiDB Operator
- Maintain Kubernetes Nodes
- Migrate from Helm 2 to Helm 3
- Replace Nodes for a TiDB Cluster
- Disaster Recovery
- Troubleshoot
- FAQs
- Reference
- Release Notes
- v1.3
- v1.2
- v1.1
- v1.0
- v0
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.dir
andraft.kvstore_path
fields in TiFlash's configspec.tiflash.config.config
are not explicitly configured, you need to add thestorage.raft.dir
field. Ifstorage.main.dir
is 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.dnsPolicy
to support configuringDNSPolicy
for Pods (#4420, @handlerww)
Improvement
tidb-lightning
Helm chart useslocal
backend as the default backend (#4426, @KanShiori)
Bug fixes
Fix the issue that if the
raft.kvstore_path
field or thestorage.raft.dir
field 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_path
field 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)