TiDB Operator 1.1 GA Release Notes
Release date: May 28, 2020
TiDB Operator version: 1.1.0
Upgrade from v1.0.x
For v1.0.x users, refer to Upgrade TiDB Operator to upgrade TiDB Operator in your cluster. Note that you should read the release notes (especially breaking changes and action required items) before the upgrade.
Breaking changes since v1.0.0
Change TiDB pod
readinessprobe fromHTTPGettoTCPSocket4000 port. This will trigger rolling-upgrade for thetidb-servercomponent. You can setspec.pausedtotruebefore upgrading tidb-operator to avoid the rolling upgrade, and set it back tofalsewhen you are ready to upgrade your TiDB server (#2139, @weekface)--advertise-addressis configured fortidb-server, which would trigger rolling-upgrade for the TiDB server. You can setspec.pausedtotruebefore upgrading TiDB Operator to avoid the rolling upgrade, and set it back tofalsewhen you are ready to upgrade your TiDB server (#2076, @cofyc)--default-storage-class-nameand--default-backup-storage-class-nameflags are abandoned, and the storage class defaults to Kubernetes default storage class right now. If you have set default storage class different than Kubernetes default storage class, set them explicitly in your TiDB cluster Helm or YAML files. (#1581, @cofyc)Add the
timezonesupport for all charts (#1122, @weekface).For the
tidb-clusterchart, we already have thetimezoneoption (UTCby default). If the user does not change it to a different value (for example,Asia/Shanghai), none of the Pods will be recreated.If the user changes it to another value (for example,
Aisa/Shanghai), all the related Pods (add aTZenv) will be recreated, namely rolling updated.The related Pods include
pump,drainer,discovery,monitor,scheduled backup,tidb-initializer, andtikv-importer.All images' time zone maintained by TiDB Operator is
UTC. If you use your own images, you need to make sure that the time zone inside your images isUTC.
Other Notable changes
- Fix
TidbClusterupgrade bug whenPodWebhookandAdvancend StatefulSetare both enabled (#2507, @Yisaer) - Support preemption in
tidb-scheduler(#2510, @cofyc) - Update BR to v4.0.0-rc.2 to include the
auto_randomfix (#2508, @DanielZhangQD) - Supports advanced statefulset for TiFlash (#2469, @DanielZhangQD)
- Sync Pump before TiDB (#2515, @DanielZhangQD)
- Improve performance by removing
TidbControllock (#2489, @weekface) - Support TiCDC in
TidbCluster(#2362, @weekface) - Update TiDB/TiKV/PD configuration to 4.0.0 GA version (#2571, @Yisaer)
- TiDB Operator will not do failover for PD pods which are not desired (#2570, @Yisaer)