TiDB 2.1.19 has been released, this version updates are as follows:
TiDB
- SQL optimizer
- Optimization
select max(_tidb_rowid) from t
of the scene, to avoid full table scan # 13294 - When the query statement given to repair the wrong value after the user variables and predicate pushdown will lead to incorrect output # 13230
- Repair there may be competition when data update statistics, leading to the problem of inaccurate statistics # 13690
- Repair
UPDATE
statement contains subquery and stored generated column incorrect results problem; repairUPDATE
statement contains two different database table names are the same,UPDATE
execution error problem # 13357 - Repair
PhysicalUnionScan
operator is not set correctly statistics, query plans may lead to problems of wrong # 14134 - Removing the
minAutoAnalyzeRatio
constraints of the automaticANALYZE
more timely # 14013 - When
WHERE
there is a clauseUNIQUE KEY
during equivalent conditions, to estimate the number of lines should not be greater than1
# 13385
- Optimization
- SQL execution engine
- Repair
ConvertJSONToInt
is usedint64
asuint64
an intermediate parse results, resulting in precision overflow problem # 13036 - Repair query contains
SLEEP
a function (for exampleselect 1 from (select sleep(1)) t;)
), because the row crop leads to a querysleep(1)
failure problem # 13039 - By implementing the
INSERT ON DUPLICATE UPDATE
re-statement byChunk
reducing memory overhead # 12999 - To the
slow_query
table to add transaction-related information segment # 13129 , as follows:Prewrite_time
Commit_time
Get_commit_ts_time
Commit_backoff_time
Backoff_types
Resolve_lock_time
Local_latch_wait_time
Write_key
Write_size
Prewrite_region
Txn_retry
- Repair
UPDATE
conversion sub-queries and errors occur when the statement contains a subqueryUPDATE
theWHERE
update failed when the conditions contained in sub-query problem # 13120 - Support in the implementation of the partition table
ADMIN CHECK TABLE
# 13143 - Repair
ON UPDATE CURRENT_TIMESTAMP
as the property of the column and specify floating-point precision,SHOW CREATE TABLE
and other statements display precision incomplete question # 12462 - Repair in
DROP/MODIFY/CHANGE COLUMN
the absence of checks foreign key cause executionSELECT * FROM information_schema.KEY_COLUMN_USAGE
problems panic occurs when the statement # 14162 - Repair TiDB open
Streaming
return data possible duplication # 13255 - "Invalid Time Format" to repair problems caused when daylight saving # 13624
- Repair integer data is converted to an unsigned
Real
/Decimal
time type, precision possible loss problem # 13756 - Repair
Quote
function handlesnull
the problem return type of error when the value # 13681 - Fix the date from when the string parsing, the use of
golang time.Local
local time zone cause analysis results time zone is not the right questions # 13792 - Repair
builtinIntervalRealSig
achieve, sincebinSearch
the method does not return error, leading to the final result may not be the right questions # 13768 - Repair
INSERT
statement during question time string type to convert floating-point type, may be error of # 14009 - Repair
sum(distinct)
function of the output result is not the right questions # 13041 - Repair due to
jsonUnquoteFunction
the return type of the function length assignment incorrect value, resulting inunion
progressive position data in the samecast
issue truncates data conversion # 13645 - Fix the problem due to the failure to set a password permission check is too strict lead # 13805
- Repair
- Server
- Repair
KILL CONNECTION
possible leak problems goroutine # 13252 - New HTTP API through the
info/all
acquisition of all TiDB node interface binlog state function # 13188 - Fix problems in Windows build TiDB project failure # 13650
- New
server-version
configuration item to modify TiDB server version control function # 13904 - Repair by Go1.13 version compiled binaries
plugin
problem can not run properly # 13527
- Repair
- DDL
- If you create a new table when the table contains
COLLATE
the columns of theCOLLATE
use tableCOLLATE
# 13190 - Limit index names when adding functionality to create a table length # 13311
- Check the length of the table name is not a problem when the Table to repair the rename # 13345
- New
BIT
column width checking function # 13511 - Optimization
change/modify column
of error messages output, are easier to understand # 13798 - Perform repair
drop column
operations and downstream Drainer not perform thisdrop column
operation, you may receive the downstream problems of this column without a DML # 13974
- If you create a new table when the table contains
TiKV
- Raftstore
- Repair Region merge and Compact log application process if the system restart, when the restart is not set correctly because the
is_merging
value of cause a system panic # 5884
- Repair Region merge and Compact log application process if the system restart, when the restart is not set correctly because the
- Importer
- Cancel gRPC message length limit # 5809
PD
- Region lifting obtain a list of HTTP API performance # 1988
- Upgrade etcd, can not fix the problem etcd PreVote elected leader of the (post-upgrade not downgrade) # 2052
Tools
- TiDB Binlog
- Binlogctl optimization state information output node # 777
- When Drainer filter configured to repair
nil
when panic issue # 802 - Pump optimization of
Graceful
exit strategy # 825 - Binlog write data in more detail the new Pump monitoring indicators # 830
- Optimization Drainer after executing DDL refresh logic structure information table # 836
- Pump fix the problem without receiving DDL commit binlog of the binlog overlooked # 855