Bug Fixes
- Do not send batch commands to TiFLASH, to fix unpredictable timeout for TiFLASH engine. #17307
- Fix a bug signed/unsigned integer is not distinguished during the partition pruning, and also optimize performance for some cases. #17230
- Fix a bug that upgrading from 3.1.1 to 4.0 fails #17300
- Fix a partition selection bug for the update statement, partition selection should affect the whole update statement #17305
- Fix panic after sending fail with ambiguous errors #17380
- Fix panic when creating a key partition table #17242
- Fix planner incorrectly choose index merge join in some cases. #17365
- Fix the check of creating and altering table, unique prefix index must not be used on the partition table #17213
- Fix the execution duration metric of the
SELECT
statement. #16561 - Fix the issue that GC worker blocks on channel sending forever when an error occurs. #16915
- Fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison #17306
- Fix the panic when aggregation pushes down enable on the partition table. #17328
- Fix the problem TiDB accesses the down peers in some cases. #17342
- Fix the problem when isolation read engines in tidb.toml do not take effect. #17322
- Fix the wrong result order for enforced stream aggregation. #17347
- Make the aggregation function
distinct
consider collations. #17240 - Support
insert/replace into tbl_name partition(partition_name_list)
#17313 - Support
is null
filter condition in hash partition pruning #17310 - Support admin check index on the partition table #17392
- Support admin cleanup index on the partition table #17405
- Support admin recover index on the partition table. #17317
- Support range partition pruning for 'in' expression #17320
- When
DIV()
is used as partition expression, fix the behavior of insert operation under different sql_mode, handleERROR_FOR_DIVISION_BY_ZERO
correctly. #17314
Changed Behaviors
- Enable Green GC by default. #16955
- Make the error message of
Transaction is too large
easier to understand. #17219