TiDB 2.1.2 Release Notes

On December 22, 2018, TiDB 2.1.2 is released. The corresponding TiDB Ansible 2.1.2 is also released. Compared with TiDB 2.1.1, this release has great improvement in system compatibility and stability.

TiDB

  • Make TiDB compatible with TiDB Binlog of the Kafka version #8747
  • Improve the exit mechanism of TiDB in a rolling update #8707
  • Fix the panic issue caused by adding the index for the generated column in some cases #8676
  • Fix the issue that the optimizer cannot find the optimal query plan when TIDB_SMJ Hint exists in the SQL statement in some cases #8729
  • Fix the issue that AntiSemiJoin returns an incorrect result in some cases #8730
  • Improve the valid character check of the utf8 character set #8754
  • Fix the issue that the field of the time type might return an incorrect result when the write operation is performed before the read operation in a transaction #8746

PD

  • Fix the Region information update issue about Region merge #1377

TiKV

  • Support the configuration format in the unit of DAY (d) and fix the configuration compatibility issue #3931
  • Fix the possible panic issue caused by Approximate Size Split #3942
  • Fix two issues about Region merge #3822, #3873

Tools

  • TiDB Lightning
    • Make TiDB 2.1.0 the minimum cluster version supported by Lightning
    • Fix the content error of the file involving parsed JSON data in Lightning #144
    • Fix the issue that Too many open engines occurs after the checkpoint is used to restart Lightning
  • TiDB Binlog
    • Eliminate some bottlenecks of Drainer writing data to Kafka
    • Support the Kafka version of TiDB Binlog