TiDB 3.1.0 GA Release Notes
Release date: April 16, 2020
TiDB version: 3.1.0 GA
TiDB Ansible version: 3.1.0 GA
Compatibility Changes
TiDB
- Support directly stopping starting TiDB if the HTTP listening port is unavailable when the
report-status
configuration item is enabled #16291
- Support directly stopping starting TiDB if the HTTP listening port is unavailable when the
Tools
Backup & Restore (BR)
- BR does not support restoring data from the TiKV cluster earlier than 3.1 GA #233
New Features
TiDB
Placement Driver (PD)
- Optimize the hot Region scheduling #2342
TiFlash
- Add the metrics report related to the read and write workloads of DeltaTree engine
- Support pushing down the
fromUnixTime
anddateFormat
functions - Disable the rough set filter by default
TiDB Ansible
Bug Fixes
TiDB
- Fix the panic issue caused by the merge join operation in some scenarios #15920
- Fix the issue that some expressions are repeatedly counted in selectivity calculation #16052
- Fix the panic issue occurred when loading the statistics information in extreme cases #15710
- Fix the issue that an error is returned in some cases when equivalent expressions cannot be recognized in SQL query #16015
- Fix the issue that an error is returned when querying the
view
of one database from another database #15867 - Fix the panic issue that occurs when the column is handled using
fast analyze
#16080 - Fix the incorrect character set of the
current_role
print result #16084 - Refine the log of MySQL connection handshake error #15799
- Fix the panic issue caused by port probing after the audit plugin is loaded #16065
- Fix the panic issue of the
sort
operator on left join because theTypeNull
class is mistaken as a variable-length type #15739 - Fix the issue of inaccurate count of monitoring session retry errors #16120
- Fix the issue of wrong results of
weekday
in theALLOW_INVALID_DATES
mode #16171 - Fix the issue that Garbage Collection (GC) might not work normally when the cluster has TiFlash nodes #15761
- Fix the issue that TiDB goes out of memory (OOM) when users set a large partition count when creating the hash partitioned table #16219
- Fix the issue that warnings are mistaken as errors, and make the
UNION
statement have the same behavior as theSELECT
statement #16138 - Fix the execution error when
TopN
is pushed down to mocktikv #16200 - Increase the initial length of
chunk.column.nullBitMap
to avoid unnecessary overhead ofruntime.growslice
#16142
TiKV
TiFlash
- Fix the potential issue of the
rename table
operation when replicating the schema from TiDB - Fix the issue of data loss caused by the
rename table
operation under multiple data path configurations - Fix the issue that TiFlash reports incorrect storage space in some scenarios
- Fix the potential issue caused by reading from TiFlash when Region Merge is enabled
- Fix the potential issue of the
Tools
TiDB Binlog
Backup & Restore (BR)