Skip to content

Commit

Permalink
releases: add 3.0.12 release notes (pingcap#2479)
Browse files Browse the repository at this point in the history
* releases: add 3.0.12 release notes

* releases: remove a space

* releases: add blank lines
  • Loading branch information
TomShawn authored and rleungx committed May 22, 2020
1 parent 7bbbed7 commit e541a99
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@
- [3.1.0-beta.1](/releases/3.1.0-beta.1.md)
- [3.1.0-beta](/releases/3.1.0-beta.md)
+ v3.0
- [3.0.12](/releases/3.0.12.md)
- [3.0.11](/releases/3.0.11.md)
- [3.0.10](/releases/3.0.10.md)
- [3.0.9](/releases/3.0.9.md)
Expand Down
48 changes: 48 additions & 0 deletions releases/3.0.12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: TiDB 3.0.12 Release Notes
category: Releases
---

# TiDB 3.0.12 Release Notes

发版日期:2020 年 03 月 16 日

TiDB 版本:3.0.12

TiDB Ansible 版本:3.0.12

## TiDB 3.0.12 兼容性变化

+ TiDB
- 修复慢日志中记录 prewrite binlog 的时间部分计时不准确问题。原本计时的字段名是 `Binlog_prewrite_time`,这次修正后,名称更改为 `Wait_prewrite_binlog_time`[#15276](https://github.com/pingcap/tidb/pull/15276)

## 新功能

+ TiDB
- 支持通过 `alter instance` 语句动态加载已被替换的证书文件 [#15080](https://github.com/pingcap/tidb/pull/15080) [#15292](https://github.com/pingcap/tidb/pull/15292)
- 添加 `cluster-verify-cn` 配置项,配置后必须是对应 CN 证书才使用 status 服务 [#15164](https://github.com/pingcap/tidb/pull/15164)
- 在每个 TiDB server 中添加对 DDL 请求的一个限流的功能,从而降低 DDL 请求冲突报错频率 [#15148](https://github.com/pingcap/tidb/pull/15148)
- 支持在 binlog 写入失败时,TiDB 退出 [#15339](https://github.com/pingcap/tidb/pull/15339)

+ Tools
- TiDB Binlog
- Drainer 新增 `kafka-client-id` 配置项,支持连接 Kafka 客户端配置客户端 ID [#929](https://github.com/pingcap/tidb-binlog/pull/929)

## Bug 修复

+ TiDB
- 使 `GRANT`/`REVOKE` 在对多个用户修改时,保证原子性 [#15092](https://github.com/pingcap/tidb/pull/15092)
- 修复在分区表上面悲观锁的加锁未能锁住正确的行的问题 [#15114](https://github.com/pingcap/tidb/pull/15114)
- 建索引长度超过限制时,使报错信息根据配置中 `max-index-length` 的值显示 [#15130](https://github.com/pingcap/tidb/pull/15130)
- 修复 `FROM_UNIXTIME` 函数小数点位数不正确的问题 [#15270](https://github.com/pingcap/tidb/pull/15270)
- 修复一个事务中删除自己写的记录导致冲突检测失效或数据索引不一致问题 [#15176](https://github.com/pingcap/tidb/pull/15176)

+ TiKV
- 修复一个在关闭一致性检查参数时,在事务中插入一个已存在的 Key 然后立马删除,导致冲突检测失效或数据索引不一致的问题 [#7054](https://github.com/tikv/tikv/pull/7054)
- Raftstore 引入流控机制,解决没有流控可能导致追日志太慢可能导致集群卡住,以及事务大小太大会导致 TiKV 间连接频繁重连的问题 [#7072](https://github.com/tikv/tikv/pull/7072) [#6993](https://github.com/tikv/tikv/pull/6993)

+ PD
- 修复 PD 因处理 Region heartbeat 时的数据竞争导致 Region 信息不正确的问题 [#2233](https://github.com/pingcap/pd/pull/2233)

+ TiDB Ansible
- 支持一个集群部署多个 Grafana/Prometheus/Alertmanager [#1198](https://github.com/pingcap/tidb-ansible/pull/1198)
1 change: 1 addition & 0 deletions releases/rn.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ TiDB 历史版本发布声明如下:

## 3.0

- [3.0.12](/releases/3.0.12.md)
- [3.0.11](/releases/3.0.11.md)
- [3.0.10](/releases/3.0.10.md)
- [3.0.9](/releases/3.0.9.md)
Expand Down

0 comments on commit e541a99

Please sign in to comment.