Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 3.67 KB

release-2.1.4.md

File metadata and controls

41 lines (33 loc) · 3.67 KB
title aliases summary
TiDB 2.1.4 Release Notes
/docs/dev/releases/release-2.1.4/
/docs/dev/releases/2.1.4/
TiDB 2.1.4 and TiDB Ansible 2.1.4 were released on February 15, 2019. The release includes improvements in stability, SQL optimizer, statistics, and execution engine. Fixes include issues with the SQL optimizer/executor, server, DDL, and TiKV. Lightning tool optimizations include memory usage, chunk separation removal, I/O concurrency limitation, batch data import support, and auto compactions in TiKV import mode. Additionally, support for disabling TiKV periodic Level-1 compaction parameter and limiting the number of import engines is added. Sync-diff-inspector now supports splitting chunks using TiDB statistics.

TiDB 2.1.4 Release Notes

On February 15, 2019, TiDB 2.1.4 is released. The corresponding TiDB Ansible 2.1.4 is also released. Compared with TiDB 2.1.3, this release has greatly improved the stability, the SQL optimizer, statistics, and the execution engine.

TiDB

  • SQL Optimizer/Executor
    • Fix the issue that the VALUES function does not handle the FLOAT type correctly #9223
    • Fix the wrong result issue when casting Float to String in some cases #9227
    • Fix the wrong result issue of the FORMAT function in some cases #9235
    • Fix the panic issue when handling the Join query in some cases #9264
    • Fix the issue that the VALUES function does not handle the ENUM type correctly #9280
    • Fix the wrong result issue of DATE_ADD/DATE_SUB in some cases #9284
  • Server
    • Optimize the "reload privilege success" log and change it to the DEBUG level #9274
  • DDL
    • Change tidb_ddl_reorg_worker_cnt and tidb_ddl_reorg_batch_size to global variables #9134
    • Fix the bug caused by adding an index to a generated column in some abnormal conditions #9289

TiKV

  • Fix the duplicate write issue when closing TiKV #4146
  • Fix the abnormal result issue of the event listener in some cases #4132

Tools

  • Lightning
    • Optimize the memory usage #107, #108
    • Remove the chunk separation of dump files to avoid an extra parsing of dump files #109
    • Limit the I/O concurrency of reading dump files, to avoid performance degradation caused by too many cache misses #110
    • Support importing data in batches for a single table, to improve import stability #110
    • Enable auto compactions in the import mode in TiKV #4199
    • Support disabling the TiKV periodic Level-1 compaction parameter, because the Level-1 compaction is automatically executed in the import mode when the TiKV cluster version is 2.1.4 or later #119
    • Limit the number of import engines to avoid consuming too much importer disk space #119
  • Support splitting chunks using the TiDB statistics in sync-diff-inspector #197