TiDB Operator 1.1.6 Release Notes

发布日期:2020 年 10 月 16 日

TiDB Operator 版本:1.1.6

兼容性变化

  • 由于 #3342 的改动,spec.pd.config 会自动从现有的 YAML 格式转换成 TOML 格式,如果 spec.pd.config 中配置了如下参数,升级 TiDB Operator 到 v1.1.6 之后,这个转换无法自动完成,需要编辑 TidbCluster CR 把对应参数的值从 string 格式修改为 bool 格式,例如,从 "true" 改为 true

    • replication.strictly-match-label
    • replication.enable-placement-rules
    • schedule.disable-raft-learner
    • schedule.disable-remove-down-replica
    • schedule.disable-replace-offline-replica
    • schedule.disable-make-up-replica
    • schedule.disable-remove-extra-replica
    • schedule.disable-location-replacement
    • schedule.disable-namespace-relocation
    • schedule.enable-one-way-merge
    • schedule.enable-cross-table-merge
    • pd-server.use-region-storage

滚动升级改动

  • 由于 #3305 的改动,如果 spec.tidb.annotations 或者 spec.tikv.annotations 中配置了 tidb.pingcap.com/sysctl-init: "true",升级 TiDB Operator 到 v1.1.6 之后 TiDB 或者 TiKV 集群会滚动升级。
  • 由于 #3345 的改动,如果集群中部署了 TiFlash,升级 TiDB Operator 到 v1.1.6 之后 TiFlash 集群会滚动升级。

新功能

  • 添加 spec.br.options 支持 Backup 和 Restore CR 自定义 BR 命令行参数 (#3360, @lichunzhu)
  • 添加 spec.tikv.evictLeaderTimeout 支持配置 TiKV evict leader 超时时间 (#3344, @lichunzhu)
  • 支持使用一个 TidbMonitor 监控多个未开启 TLS 的 TiDB 集群。TidbMonitor CR 添加 spec.clusterScoped 配置项,监控多个集群时需要设置为 true (#3308, @mikechengwei)
  • 所有 initcontainers 支持配置资源 (#3305, @shonge)
  • 支持部署异构 TiDB 集群 (#3003 #3009 #3113 #3155 #3253, @mikechengwei)

优化提升

Bug 修复

  • 修复 Discovery 可能导致启动多个 PD 集群的错误 (#3365, @lichunzhu)

文档内容是否有帮助?

下载 PDF文档反馈社区交流
产品
TiDB
TiDB Cloud
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.