TiDB Operator 1.1.6 Release Notes
Release date: October 16, 2020
TiDB Operator version: 1.1.6
Compatibility Changes
With #3342, the
spec.pd.configwill be migrated from YAML format to TOML format automatically; however, if the following parameters are configured in thespec.pd.config, the migration cannot be done after upgrading TiDB Operator to v1.1.6. Therefore, please edit theTidbClusterCR to change the value of the parameter from string format to bool format, for example, from"true"totrue.replication.strictly-match-labelreplication.enable-placement-rulesschedule.disable-raft-learnerschedule.disable-remove-down-replicaschedule.disable-replace-offline-replicaschedule.disable-make-up-replicaschedule.disable-remove-extra-replicaschedule.disable-location-replacementschedule.disable-namespace-relocationschedule.enable-one-way-mergeschedule.enable-cross-table-mergepd-server.use-region-storage
Rolling Update Changes
- If
tidb.pingcap.com/sysctl-init: "true"is set forspec.tidb.annotationsorspec.tikv.annotations, the TiDB or TiKV cluster will be rolling updated after upgrading TiDB Operator to v1.1.6 due to #3305. - If TiFlash is deployed, the TiFlash cluster will be rolling updated after upgrading TiDB Operator to v1.1.6 due to #3345.
New Features
- Add
spec.br.optionsto the Backup and Restore CR to support customizing arguments for BR (#3360, @lichunzhu) - Add
spec.tikv.evictLeaderTimeoutto TidbCluster CR to make TiKV evict leader timeout configurable (#3344, @lichunzhu) - Support monitoring multiple TiDB clusters with one TidbMonitor CR when TLS is disabled.
spec.clusterScopedis added to the TidbMonitor CR and needs to be set totrueto monitor multiple clusters (#3308, @mikechengwei) - Support specifying resources for all initcontainers (#3305, @shonge)
- Support deploying heterogeneous TiDB clusters (#3003 #3009 #3113 #3155 #3253, @mikechengwei)
Improvements
- Support passing raw TOML config for TiFlash (#3355, @july2993)
- Support passing raw TOML config for TiKV/PD (#3342, @july2993)
- Support passing raw TOML config for TiDB (#3327, @july2993)
- Support passing raw TOML config for Pump (#3312, @july2993)
- Print proxy log of TiFlash to stdout (#3345, @lichunzhu)
- Add timestamp to the prefix of scheduled backup on GCS (#3340, @lichunzhu)
- Remove the apiserver and related packages (#3298, @lonng)
- Remove the PodRestarter controller and
tidb.pingcap.com/pod-defer-deletingannotation (#3296, @lonng) - Use BR metadata to get the total backup size (#3274, @lichunzhu)
Bug Fixes
- Fix the problem that may bootstrap multiple PD clusters (#3365, @lichunzhu)