Releases: pingcap/tidb
Releases · pingcap/tidb
tidb-server v6.1.5
Bug fixes
- Fix the issue that data race might cause TiDB to restart #27725 @XuHuaiyu
- Fix the issue that the
UPDATE
statement might not read the latest data when the Read Committed isolation level is used #41581 @cfzjywxk - PD
- Fix the PD OOM issue that occurs when the calls of
ReportMinResolvedTS
are too frequent #5965 @HundunDM
tidb-server v6.6.0
For new features, improvements, and bug fixes released in 6.6.0 for tidb server, see TiDB 6.6.0 release notes.
tidb-server v6.1.4
tidb-server v6.5.0
For new features, improvements, and bug fixes released in 6.5.0 for tidb server, see TiDB 6.5.0 release notes.
tidb-server v5.1.5
Bug fixes
- Fix the issue that the window function causes TiDB to panic instead of reporting an error #30326
- Fix the wrong result that occurs when enabling dynamic mode in partitioned tables for TiFlash #37254
- Fix wrong results of
GREATEST
andLEAST
when passing in unsignedBIGINT
arguments #30101 - Fix wrong results of deleting data of multiple tables using
left join
#31321 - Fix the issue that the result of
concat(ifnull(time(3)))
in TiDB is different from that in MySQL #29498 - Fix the issue that the SQL statements that contain
cast(integer as char) union string
return wrong results #29513 - Fix the issue that
INL_HASH_JOIN
might hang when used withLIMIT
#35638 - Fix the wrong
ANY_VALUE
result that occurs when a Region returns empty data #30923 - Fix wrong results of index join caused by an innerWorker panic #31494
- Fix the issue that a SQL operation is canceled when its JSON type column joins its
CHAR
type column #29401 - Fix the issue that the background HTTP service of TiDB might not exit successfully and makes the cluster in an abnormal state #30571
- Fix the issue that concurrent column type change causes inconsistency between the schema and the data #31048
- Fix the issue that
KILL TIDB
cannot take effect immediately on idle connections #24031 - Fix the bug that setting any session variable will make
tidb_snapshot
fail to work #35515 - Fix the issue that the Region cache is not cleaned up in time when the Region is merged #37141
- Fix the panic issue caused by the connection array race in the KV client #33773
- Fix the issue that when TiDB Binlog is enabled, executing the
ALTER SEQUENCE
statement might cause a wrong metadata version and cause Drainer to exit #36276 - Fix the bug that TiDB may panic when querying statement summary tables #35340
- Fix the issue that TiDB gets the wrong result when using TiFlash to scan tables with empty range although TiFlash does not support reading tables with empty range yet #33083
- Fix the issue that the
avg()
function returnsERROR 1105 (HY000): other error for mpp stream: Could not convert to the target type - -value is out of range.
when queried from TiFlash #29952 - Fix the issue that
ERROR 1105 (HY000): close of nil channel
is returned when usingHashJoinExec
#30289 - Fix the issue that TiKV and TiFlash return different results when querying logical operations #37258
- Fix the issue that the
EXECUTE
statement might throw an unexpected error in specific scenarios #37187 - Fix the planner wrong behaviors that occur when
tidb_opt_agg_push_down
andtidb_enforce_mpp
are enabled #34465 - Fix a bug that TiDB might send coprocessor requests when executing the
SHOW COLUMNS
statement #36496 - Add warnings for
lock tables
andunlock tables
when theenable-table-lock
flag is not enabled #28967 - Fix the issue that range partitions allow multiple
MAXVALUE
partitions #36329
tidb-server v6.1.3
Bug fixes
- Fix the issue that restore tasks fail when using old framework for collations in databases or tables #39150 @MoCuishle28
tidb-server v6.4.0
Improvements
- Allow modifying the noop variable
lc_messages
#38231 @djshow832 - Support the
AUTO_RANDOM
column as the first column of the clustered composite index #38572 @tangenta - Use pessimistic transactions in internal transaction retry to avoid retry failure and reduce time consumption #38136 @jackysp
- Improve the mechanism for loading the metadata. The metadata is loaded into memory only when necessary, which significantly reduces the memory usage during PITR #38404 @YuJuncen
- Optimize the file scanning logic to accelerate the scan of schema files #38598 @dsdashun
Bug fixes
- Fix the potential issue of index inconsistency that occurs after you create a new index #38165 @tangenta
- Fix a permission issue of the
INFORMATION_SCHEMA.TIKV_REGION_STATUS
table #38407 @CbcWestwolf - Fix the issue that the
grantor
field is missing in themysql.tables_priv
table #38293 @CbcWestwolf - Fix the issue that the join result of common table expressions might be wrong #38170 @wjhuang2016
- Fix the issue that the union result of common table expressions might be wrong #37928 @YangKeao
- Fix the issue that the information in the transaction region num monitoring panel is incorrect #38139 @jackysp
- Fix the issue that the system variable
tidb_constraint_check_in_place_pessimistic
might affect internal transactions. The variable scope is modified to SESSION. #38766 - Fix the issue that conditions in a query are mistakenly pushed down to projections #35623 @Reminiscent
- Fix the issue that the wrong
isNullRejected
check results forAND
andOR
cause wrong query results #38304 @Yisaer - Fix the issue that
ORDER BY
inGROUP_CONCAT
is not considered when the outer join is eliminated, which causes wrong query results #18216 @winoros - Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder #38736 @winoros
- Fix the restoration failure issue caused by PD leader switch during the restoration process #36910 @MoCuishle28
- Fix the issue that the log backup task cannot be paused #38250 @joccau
- Fix the issue that when BR deletes log backup data, it mistakenly deletes data that should not be deleted #38939 @Leavrth
- Fix the issue that BR fails to delete data when deleting the log backup data stored in Azure Blob Storage or Google Cloud Storage for the first time #38229 @Leavrth
- Fix the import performance degradation when importing the Apache Parquet files to the target tables that contain the string type columns in the
binary
encoding format #38351 @dsdashun
tidb-server v5.3.4
Bug fixes
- Fix the issue that the Region cache is not cleaned up in time when the Region is merged #37141
- Fix the issue that TiDB writes wrong data due to the wrong encoding of the
ENUM
orSET
column #32302 - Fix the issue that database-level privileges are incorrectly cleaned up #38363
- Fix the issue that the
grantor
field is missing in themysql.tables_priv
table #38293 - Fix the issue that
KILL TIDB
cannot take effect immediately on idle connections #24031 - Fix the issue that the return type of
date_add
anddate_sub
is different between TiDB and MySQL #36394, #27573 - Fix the incorrect
INSERT_METHOD
value when Parser restores table options #38368 - Fix the issue that authentication fails when a MySQL client of v5.1 or earlier connects to the TiDB server #29725
- Fix wrong results of
GREATEST
andLEAST
when passing in unsignedBIGINT
arguments #30101 - Fix the issue that the result of
concat(ifnull(time(3))
in TiDB is different from that in MySQL #29498 - Fix the issue that the
avg()
function returnsERROR 1105 (HY000): other error for mpp stream: Could not convert to the target type - -value is out of range.
when queried from TiFlash #29952 - Fix the issue that
ERROR 1105 (HY000): close of nil channel
is returned when usingHashJoinExec
#30289 - Fix the issue that TiKV and TiFlash return different results when querying logical operations #37258
- Fix the issue that the
EXPLAIN ANALYZE
statement with DML executors might return result before the transaction commit finishes #37373 - Fix the issue that Region cache is not cleared properly after merging many Regions #37174
- Fix the issue that the
EXECUTE
statement might throw an unexpected error in specific scenarios #37187 - Fix the issue that
GROUP CONCAT
withORDER BY
might fail when theORDER BY
clause contains a correlated subquery #18216 - Fix wrong results returned when length and width are incorrectly set for Decimal and Real when using plan cache #29565
tidb-server v6.1.2
Improvements
- Allow setting placement rules and TiFlash replicas at the same time in one table #37171 @lcwangchao
Bug fixes
- Fix the issue that database-level privileges are incorrectly cleaned up #38363 @dveeden
- Fix the incorrect output of
SHOW CREATE PLACEMENT POLICY
#37526 @xhebox - Fix the issue that when one PD node goes down, the query of
information_schema.TIKV_REGION_STATUS
fails due to not retrying other PD nodes #35708 @tangenta - Fix the issue that the
UNION
operator might return unexpected empty result #36903 @tiancaiamao - Fix the wrong result that occurs when enabling dynamic mode in partitioned tables for TiFlash #37254 @wshwsh12
- Fix the issue that the Region cache is not cleaned up in time when the Region is merged #37141 @sticnarf
- Fix the issue that the KV client sends unnecessary ping messages #36861 @jackysp
- Fix the issue that the
EXPLAIN ANALYZE
statement with DML executors might return result before the transaction commit finishes #37373 @cfzjywxk - Fix the issue that
GROUP CONCAT
withORDER BY
might fail when theORDER BY
clause contains a correlated subquery #18216 @winoros - Fix the issue that
Can't find column
is reported if anUPDATE
statement contains common table expressions (CTE) #35758 @AilinKid - Fix the issue that the
EXECUTE
might throw an unexpected error in specific scenarios #37187 @Reminiscent
tidb-server v5.4.3
Bug fixes
- Fix the incorrect output of
SHOW CREATE PLACEMENT POLICY
#37526 - Fix the issue that some DDL statements might be stuck for a period after the PD node of a cluster is replaced #33908
- Fix the issue that
KILL TIDB
cannot take effect immediately on idle connections #24031 - Fix the issue that incorrect results are returned in the
DATA_TYPE
andCOLUMN_TYPE
columns when querying theINFORMSTION_SCHEMA.COLUMNS
system table #36496 - Fix the issue that when TiDB Binlog is enabled, executing the
ALTER SEQUENCE
statement might cause a wrong metadata version and cause Drainer to exit #36276 - Fix the issue that the
UNION
operator might return unexpected empty result #36903 - Fix the wrong result that occurs when enabling dynamic mode in partitioned tables for TiFlash #37254
- Fix the issue that
INL_HASH_JOIN
might hang when used withLIMIT
#35638 - Fix the issue that TiDB might return the
invalid memory address or nil pointer dereference
error when executing theSHOW WARNINGS
statement #31569 - Fix the
invalid transaction
error that occurs when performing Stale Read in the RC isolation level #30872 - Fix the issue that the
EXPLAIN ANALYZE
statement with DML executors might return result before the transaction commit finishes #37373 - Fix the issue of the
data and columnID count not match
error that occurs when inserting duplicated values with TiDB Binlog enabled #33608 - Fix the issue that in the static partition prune mode, SQL statements with an aggregate condition might return wrong result when the table is empty #35295
- Fix the issue that TiDB might panic when executing the
UPDATE
statement #32311 - Fix the issue of wrong query result because the
UnionScan
operator cannot maintain the order #33175 - Fix the issue that the UPDATE statements incorrectly eliminate the projection in some cases, which causes the
Can't find column
error #37568 - Fix the issue that partitioned tables cannot fully use indexes to scan data in some cases #33966
- Fix the issue that the
EXECUTE
might throw an unexpected error in specific scenarios #37187 - Fix the issue that TiDB might return wrong results when using a
BIT
type index with prepared plan cache enabled #33067