TiDB 3.1 Beta.2 Release Notes
Release date: March 9, 2020
TiDB version: 3.1.0-beta.2
TiDB Ansible version: 3.1.0-beta.2
Warning
Some known issues are found in this version, and these issues are fixed in new versions. It is recommended that you use the latest 3.1.x version.
Compatibility Changes
- Tools
- TiDB Lightning
- Use the default configurations specified in the TiDB Lightning Configuration for certain items not configured in the configuration file #255
- Add the
--tidb-password
CLI parameter to set the TiDB password #253
- TiDB Lightning
New Features
- TiDB
- Support adding the
AutoRandom
keyword in the column attribute to enable TiDB to automatically assign random integers to the primary key, which avoids the write hot spot caused by theAUTO_INCREMENT
primary key #14555 - Support creating or deleting column store replicas through DDL statements #14537
- Add the feature that the optimizer can independently select different storage engines #14537
- Add the feature that the SQL hint supports different storage engines #14537
- Support reading data from followers by using the
tidb_replica_read
system variable #13464
- Support adding the
- TiKV
- PD Client
- Support reporting statistics of local threads to PD #6605
- Backup
- Replace the
RocksIOLimiter
flow control library with Rust’sasync-speed-limit
flow control library to eliminate extra memory copies when backing up a file #6462
- Replace the
- PD
- Tolerate backslash in the location label name #2084
- TiFlash
- Initial release
- TiDB Ansible
Bug Fixes
- TiKV
- Raftstore
- Fix the issue that the read requests cannot be processed because data is not properly read from Hibernate Regions #6450
- Fix the panic issue caused by the
ReadIndex
requests during the leader transfer process #6613 - Fix the issue that Hibernate Regions are not correctly awakened in some special conditions #6730 #6737 #6972
- Backup
- Raftstore
- PD
- Fix the panic occurred because the rule checker fails to assign stores to Regions #2161
- Tools
- TiDB Ansible
- Fix the issue that the rolling update command fails because the PD Leader cannot be obtained in some scenarios #1122