Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

en, zh: add release notes for v1.2.0 #1328

Merged
merged 9 commits into from
Jul 29, 2021
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions en/TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
+ [TiDB Operator Roadmap](roadmap.md)
+ Release Notes
+ v1.2
- [1.2 GA](releases/release-1.2.0.md)
- [1.2.0-rc.2](releases/release-1.2.0-rc.2.md)
- [1.2.0-rc.1](releases/release-1.2.0-rc.1.md)
- [1.2.0-beta.2](releases/release-1.2.0-beta.2.md)
Expand Down
26 changes: 26 additions & 0 deletions en/releases/release-1.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: TiDB Operator 1.2.0 Release Notes
---

# TiDB Operator 1.2.0 Release Notes

Release date: July 29, 2021

TiDB Operator version: 1.2.0

## Rolling update changes

- Upgrading TiDB Operator will cause the recreation of the TidbMonitor Pod due to [#4085](https://github.com/pingcap/tidb-operator/pull/4085)

## New features

- Support setting Prometheus `retentionTime`, which is more fine-grained than `reserveDays`, and only use `retentionTime` if both are configured ([#4085](https://github.com/pingcap/tidb-operator/pull/4085), [@better0332](https://github.com/better0332))
DanielZhangQD marked this conversation as resolved.
Show resolved Hide resolved
- Support setting `priorityClassName` in the `Backup` CR to specify the priority of the backup Job ([#4078](https://github.com/pingcap/tidb-operator/pull/4078), [@mikechengwei](https://github.com/mikechengwei))
DanielZhangQD marked this conversation as resolved.
Show resolved Hide resolved

## Improvements

- Changes the default region leader eviction timeout of TiKV to 1500 minutes to prevent the Pod from being deleted when the region leaders are not transferred completely to the other stores which will cause data corruption([#4071](https://github.com/pingcap/tidb-operator/pull/4071), [@KanShiori](https://github.com/KanShiori))
DanielZhangQD marked this conversation as resolved.
Show resolved Hide resolved

## Bug fixes

- Fix the issue that the URL in `Prometheus.RemoteWrite` may be parsed incorrectly in `TiDBMonitor` ([#4087](https://github.com/pingcap/tidb-operator/pull/4087), [@better0332](https://github.com/better0332))
1 change: 1 addition & 0 deletions zh/TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
+ [TiDB Operator Roadmap](roadmap.md)
+ 版本发布历史
+ v1.2
- [1.2 GA](releases/release-1.2.0.md)
- [1.2.0-rc.2](releases/release-1.2.0-rc.2.md)
- [1.2.0-rc.1](releases/release-1.2.0-rc.1.md)
- [1.2.0-beta.2](releases/release-1.2.0-beta.2.md)
Expand Down
26 changes: 26 additions & 0 deletions zh/releases/release-1.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: TiDB Operator 1.2.0 Release Notes
---

# TiDB Operator 1.2.0 Release Notes
KanShiori marked this conversation as resolved.
Show resolved Hide resolved

发布日期:2021 年 7 月 29 日

TiDB Operator 版本:1.2.0

## 滚动升级改动

- 由于 [#4085](https://github.com/pingcap/tidb-operator/pull/4085) 的改动,升级 TiDB Operator 会导致 TidbMonitor Pod 删除重建

## 新功能

- 支持为 `TiDBMonitor` 的 `Prometheus` 设置比 `reserveDays` 更细粒度的 `retentionTime`,两者都配置的情况下仅使用 `retentionTime` ([#4085](https://github.com/pingcap/tidb-operator/pull/4085), [@better0332](https://github.com/better0332))
- 支持 `Backup` CR 通过 `priorityClassName` 设置备份 Job 优先级 ([#4078](https://github.com/pingcap/tidb-operator/pull/4078), [@mikechengwei](https://github.com/mikechengwei))

## 优化提升

- 将升级过程中驱逐 TiKV 的 Region Leader 超时的默认值调整为 1500 分钟,以避免 Region Leader 没有驱逐完成而停止 Pod 导致数据损坏 ([#4071](https://github.com/pingcap/tidb-operator/pull/4071), [@KanShiori](https://github.com/KanShiori))
DanielZhangQD marked this conversation as resolved.
Show resolved Hide resolved

## Bug 修复

- 修复解析 `TiDBMonitor` 定义中 `Prometheus.RemoteWrite` 的 URL 可能失败的问题 ([#4087](https://github.com/pingcap/tidb-operator/pull/4087), [@better0332](https://github.com/better0332))