|
| 1 | +--- |
| 2 | +title: TiDB 2.0.1 Release Notes |
| 3 | +category: Releases |
| 4 | +--- |
| 5 | + |
| 6 | +# TiDB 2.0.1 Release Notes |
| 7 | + |
| 8 | +On May 16, 2018, TiDB 2.0.1 is released. Compared with TiDB 2.0.0 (GA), this release has great improvement in MySQL compatibility and system stability. |
| 9 | + |
| 10 | +## TiDB |
| 11 | + |
| 12 | +- Update the progress of `Add Index` to the DDL job information in real time |
| 13 | +- Add the `tidb_auto_analyze_ratio` session variable to control the threshold value of automatic statistics update |
| 14 | +- Fix an issue that not all residual states are cleaned up when the transaction commit fails |
| 15 | +- Fix a bug about adding indexes in some conditions |
| 16 | +- Fix the correctness related issue when DDL modifies surface operations in some concurrent scenarios |
| 17 | +- Fix a bug that the result of `LIMIT` is incorrect in some conditions |
| 18 | +- Fix a capitalization issue of the `ADMIN CHECK INDEX` statement to make its index name case insensitive |
| 19 | +- Fix a compatibility issue of the `UNION` statement |
| 20 | +- Fix a compatibility issue when inserting data of `TIME` type |
| 21 | +- Fix a goroutine leak issue caused by `copIteratorTaskSender` in some conditions |
| 22 | +- Add an option for TiDB to control the behaviour of Binlog failure |
| 23 | +- Refactor the `Coprocessor` slow log to distinguish between the scenario of tasks with long processing time and long waiting time |
| 24 | +- Log nothing when meeting MySQL protocol handshake error, to avoid too many logs caused by the load balancer Keep Alive mechanism |
| 25 | +- Refine the “Out of range value for column” error message |
| 26 | +- Fix a bug when there is a subquery in an `Update` statement |
| 27 | +- Change the behaviour of handling `SIGTERM`, and do not wait for all queries to terminate anymore |
| 28 | + |
| 29 | +## PD |
| 30 | + |
| 31 | +- Add the `Scatter Range` scheduler to balance Regions with the specified key range |
| 32 | +- Optimize the scheduling of Merge Region to prevent the newly split Region from being merged |
| 33 | +- Add Learner related metrics |
| 34 | +- Fix the issue that the scheduler is mistakenly deleted after restart |
| 35 | +- Fix the error that occurs when parsing the configuration file |
| 36 | +- Fix the issue that the etcd leader and the PD leader are not synchronized |
| 37 | +- Fix the issue that Learner still appears after it is closed |
| 38 | +- Fix the issue that Regions fail to load because the packet size is too large |
| 39 | + |
| 40 | +## TiKV |
| 41 | + |
| 42 | +- Fix the issue that `SELECT FOR UPDATE` prevents others from reading |
| 43 | +- Optimize the slow query log |
| 44 | +- Reduce the number of `thread_yield` calls |
| 45 | +- Fix the bug that raftstore is accidentally blocked when generating the snapshot |
| 46 | +- Fix the issue that Learner cannot be successfully elected in special conditions |
| 47 | +- Fix the issue that split might cause dirty read in extreme conditions |
| 48 | +- Correct the default value of the read thread pool configuration |
| 49 | +- Speed up Delete Range |
0 commit comments