Skip to content

Commit

Permalink
zh: add 1.1-ga chinese release notes (#791)
Browse files Browse the repository at this point in the history
* zh: add 1.1-ga chinese release notes

Signed-off-by: Ran <huangran@pingcap.com>

* Apply suggestions from code review

Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>

Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>
  • Loading branch information
ran-huang and DanielZhangQD authored Nov 2, 2020
1 parent ea4b1f5 commit 632a213
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions zh/releases/release-1.1-ga.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@ title: TiDB Operator 1.1 GA Release Notes

# TiDB Operator 1.1 GA Release Notes

Release date: May 28, 2020
发布日期:2020 年 5 月 28 日

TiDB Operator version: 1.1.0
TiDB Operator 版本:1.1.0

## Upgrade from v1.0.x
## v1.0.x 升级

For v1.0.x users, refer to [Upgrade TiDB Operator](../upgrade-tidb-operator.md) 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.
对于 v1.0.x 的用户,请参考[升级 TiDB Operator](https://docs.pingcap.com/zh/tidb-in-kubernetes/stable/upgrade-tidb-operator) 来升级集群中的 TiDB Operator。注意在升级之前应该阅读发布说明(特别是重大变更和需要操作的项目)。

## Breaking changes since v1.0.0
## v1.0.0 后的重大变更

- Change TiDB pod `readiness` probe from `HTTPGet` to `TCPSocket` 4000 port. This will trigger rolling-upgrade for the `tidb-server` component. You can set `spec.paused` to `true` before upgrading tidb-operator to avoid the rolling upgrade, and set it back to `false` when you are ready to upgrade your TiDB server ([#2139](https://github.com/pingcap/tidb-operator/pull/2139), [@weekface](https://github.com/weekface))
- `--advertise-address` is configured for `tidb-server`, which would trigger rolling-upgrade for the TiDB server. You can set `spec.paused` to `true` before upgrading TiDB Operator to avoid the rolling upgrade, and set it back to `false` when you are ready to upgrade your TiDB server ([#2076](https://github.com/pingcap/tidb-operator/pull/2076), [@cofyc](https://github.com/cofyc))
- `--default-storage-class-name` and `--default-backup-storage-class-name` flags 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](https://github.com/pingcap/tidb-operator/pull/1581), [@cofyc](https://github.com/cofyc))
- Add the `timezone` support for [all charts](https://github.com/pingcap/tidb-operator/tree/master/charts) ([#1122](https://github.com/pingcap/tidb-operator/pull/1122), [@weekface](https://github.com/weekface)).
* TiDB Pod 的 `readiness` 探针从 `HTTPGet` 更改为 `TCPSocket` 4000 端口。这将触发 `tidb-server` 组件滚动升级。你可以在升级 TiDB Operator 之前将 `spec.paused` 设置为 `true` 以避免滚动升级,并在准备升级 `tidb-server` 时将其重新设置为 `false` ([#2139](https://github.com/pingcap/tidb-operator/pull/2139), [@weekface](https://github.com/weekface))
*`tidb-server` 配置了 `--advertise-address`,这将触发 `tidb-server` 滚动升级。你可以在升级 TiDB Operator 之前将 `spec.paused` 设置为 `true` 以避免滚动升级,并在准备升级 `tidb-server` 时将其设置为 `false` ([#2076](https://github.com/pingcap/tidb-operator/pull/2076), [@cofyc](https://github.com/cofyc))
* `--default-storage-class-name` `--default-backup-storage-class-name` 标记被废弃,现在存储类型默认为 Kubernetes 默认存储类型。如果你已经设置的默认存储类型不是 Kubernetes 的默认存储类型,请在 TiDB 集群的 Helm YAML 文件中显式设置它们 ([#1581](https://github.com/pingcap/tidb-operator/pull/1581), [@cofyc](https://github.com/cofyc))
* 为所有 Helm chart 添加时区选项 ([#1122](https://github.com/pingcap/tidb-operator/pull/1122), [@weekface](https://github.com/weekface))

For the `tidb-cluster` chart, we already have the `timezone` option (`UTC` by default). If the user does not change it to a different value (for example, `Asia/Shanghai`), none of the Pods will be recreated.
对于 `tidb-cluster` chart,我们已经支持 `timezone` 选项(默认为 UTC)。如果用户没有将其改为其他值 (例如 `Asia/Shanghai`),则不会重新创建任何 Pod。

If the user changes it to another value (for example, `Aisa/Shanghai`), all the related Pods (add a `TZ` env) will be recreated, namely rolling updated.
如果用户将其改为其他值 (例如 `Asia/Shanghai`),则将重新创建所有相关的 Pod(添加一个 `TZ` 环境变量),即滚动更新。

The related Pods include `pump`, `drainer`, `discovery`, `monitor`, `scheduled backup`, `tidb-initializer`, and `tikv-importer`.
相关的 Pod 包括 `pump``drainer``discovery``monitor``scheduled backup``tidb-initializer` `tikv-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 is `UTC`.
TiDB Operator 维护的所有镜像的时区均为 UTC。如果你使用自己的镜像文件,需要保证镜像内的时区为 UTC

## Other Notable changes
## 其他重要更新

- Fix `TidbCluster` upgrade bug when `PodWebhook` and `Advancend StatefulSet` are both enabled ([#2507](https://github.com/pingcap/tidb-operator/pull/2507), [@Yisaer](https://github.com/Yisaer))
- Support preemption in `tidb-scheduler` ([#2510](https://github.com/pingcap/tidb-operator/pull/2510), [@cofyc](https://github.com/cofyc))
- Update BR to v4.0.0-rc.2 to include the `auto_random` fix ([#2508](https://github.com/pingcap/tidb-operator/pull/2508), [@DanielZhangQD](https://github.com/DanielZhangQD))
- Supports advanced statefulset for TiFlash ([#2469](https://github.com/pingcap/tidb-operator/pull/2469), [@DanielZhangQD](https://github.com/DanielZhangQD))
- Sync Pump before TiDB ([#2515](https://github.com/pingcap/tidb-operator/pull/2515), [@DanielZhangQD](https://github.com/DanielZhangQD))
- Improve performance by removing `TidbControl` lock ([#2489](https://github.com/pingcap/tidb-operator/pull/2489), [@weekface](https://github.com/weekface))
- Support TiCDC in `TidbCluster` ([#2362](https://github.com/pingcap/tidb-operator/pull/2362), [@weekface](https://github.com/weekface))
- Update TiDB/TiKV/PD configuration to 4.0.0 GA version ([#2571](https://github.com/pingcap/tidb-operator/pull/2571), [@Yisaer](https://github.com/Yisaer))
- TiDB Operator will not do failover for PD pods which are not desired ([#2570](https://github.com/pingcap/tidb-operator/pull/2570), [@Yisaer](https://github.com/Yisaer))
* 修复了同时启用 `PodWebhook` 和 增强型 StatefulSet 时 `TidbCluster` 升级的错误 ([#2507](https://github.com/pingcap/tidb-operator/pull/2507), [@Yisaer](https://github.com/Yisaer))
* `tidb-scheduler` 中支持 preemption ([#2510](https://github.com/pingcap/tidb-operator/pull/2510), [@cofyc](https://github.com/cofyc))
* BR 更新为 v4.0.0-rc.2,包含 `auto_random` 的修复 ([#2508](https://github.com/pingcap/tidb-operator/pull/2508), [@DanielZhangQD](https://github.com/DanielZhangQD))
* 增强型 StatefulSet 支持 TiFlash ([#2469](https://github.com/pingcap/tidb-operator/pull/2469), [@DanielZhangQD](https://github.com/DanielZhangQD))
* 在运行 TiDB 前同步 Pump ([#2515](https://github.com/pingcap/tidb-operator/pull/2515), [@DanielZhangQD](https://github.com/DanielZhangQD))
* 删除 `TidbControl` 锁以提高性能 ([#2489](https://github.com/pingcap/tidb-operator/pull/2489), [@weekface](https://github.com/weekface))
*`TidbCluster` 中支持 TiCDC 功能 ([#2362](https://github.com/pingcap/tidb-operator/pull/2362), [@weekface](https://github.com/weekface))
* TiDB/TiKV/PD 配置更新为 4.0.0 GA 版本 ([#2571](https://github.com/pingcap/tidb-operator/pull/2571), [@Yisaer](https://github.com/Yisaer))
* TiDB Operator 将不会对 Failover 创建的 PD Pod 再次进行 Failover ([#2570](https://github.com/pingcap/tidb-operator/pull/2570), [@Yisaer](https://github.com/Yisaer))

0 comments on commit 632a213

Please sign in to comment.