Skip to content

Commit

Permalink
en, zh: update release note for v1.1.6 (#847) (#848)
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
ti-srebot authored Nov 13, 2020
1 parent 7a53598 commit 5206961
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions en/releases/release-1.1.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,28 @@ Release date: October 16, 2020

TiDB Operator version: 1.1.6

## Compatibility Changes

- With [#3342](https://github.com/pingcap/tidb-operator/pull/3342), the `spec.pd.config` will be migrated from YAML format to TOML format automatically; however, if the following parameters are configured in the `spec.pd.config`, the migration cannot be done after upgrading TiDB Operator to v1.1.6. Therefore, please edit the `TidbCluster` CR to change the value of the parameter from string format to bool format, for example, from `"true"` to `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`

## Rolling Update Changes

- If `tidb.pingcap.com/sysctl-init: "true"` is set for `spec.tidb.annotations` or `spec.tikv.annotations`, the TiDB or TiKV cluster will be rolling updated after upgrading TiDB Operator to v1.1.6 due to [#3305](https://github.com/pingcap/tidb-operator/pull/3305).
- If TiFlash is deployed, the TiFlash cluster will be rolling updated after upgrading TiDB Operator to v1.1.6 due to [#3345](https://github.com/pingcap/tidb-operator/pull/3345).

## New Features

- Add `spec.br.options` to the Backup and Restore CR to support customizing arguments for BR ([#3360](https://github.com/pingcap/tidb-operator/pull/3360), [@lichunzhu](https://github.com/lichunzhu))
Expand Down
22 changes: 22 additions & 0 deletions zh/releases/release-1.1.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,28 @@ title: TiDB Operator 1.1.6 Release Notes

TiDB Operator 版本:1.1.6

## 兼容性变化

- 由于 [#3342](https://github.com/pingcap/tidb-operator/pull/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](https://github.com/pingcap/tidb-operator/pull/3305) 的改动,如果 `spec.tidb.annotations` 或者 `spec.tikv.annotations` 中配置了 `tidb.pingcap.com/sysctl-init: "true"`,升级 TiDB Operator 到 v1.1.6 之后 TiDB 或者 TiKV 集群会滚动升级。
- 由于 [#3345](https://github.com/pingcap/tidb-operator/pull/3345) 的改动,如果集群中部署了 TiFlash,升级 TiDB Operator 到 v1.1.6 之后 TiFlash 集群会滚动升级。

## 新功能

- 添加 `spec.br.options` 支持 Backup 和 Restore CR 自定义 BR 命令行参数 ([#3360](https://github.com/pingcap/tidb-operator/pull/3360), [@lichunzhu](https://github.com/lichunzhu))
Expand Down

0 comments on commit 5206961

Please sign in to comment.