Commit Graph

720 Commits

Author SHA1 Message Date
9dfc786c4c *: fix a bug that wrong index data on prefixed clustered index (#23742) 2021-04-01 10:15:27 +08:00
d0291c802a executor: fix batchget overflow lock panic (#23774) 2021-04-01 03:33:24 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
3cf2bf9120 session: add session scope for tidb_enable_clustered_index (#23704) 2021-03-30 23:31:24 +08:00
f6e13b691f executor: fix point/batch on old row format clustered primary key with prefix columns (#23668) 2021-03-30 20:01:24 +08:00
f9708e6043 *: collect transaction write duration/throughput metrics for SLI/SLO (#23462) 2021-03-30 11:19:24 +08:00
f08e76cb1c store/tikv/kv:move tikv/error.go to tikv/kv/error.go (#23627) 2021-03-30 11:03:23 +08:00
e63aaac1f9 store/tikv: move failpoint.go from tikv to tikv/util (#23632) 2021-03-29 18:45:24 +08:00
2df2ca06d2 store/tikv: always switch to a different peer when meets no-leader (#22449) 2021-03-26 19:05:23 +08:00
f45bd9bd21 kv/union_store:move implementation of unionstore into store/tikv (#23490) 2021-03-26 16:40:29 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
a90e4f2b29 telemetry: fix prepare stmt and copr cache (#23526) 2021-03-25 16:15:15 +08:00
5a4d89416b session: fix bug user privileges change after upgrade from 4.0.11 to 5.0 (#23403) 2021-03-25 13:07:23 +08:00
4b7a3767b0 telemetry: Fix window algorithm (#23518) 2021-03-25 11:37:23 +08:00
1cebae21a7 planner, sessionctx: turn on the mpp by default (#23401) 2021-03-23 21:01:37 +08:00
5243049e18 telemetry: add copr-cache, tiflash, cluster index, async commit (#23454) 2021-03-23 20:27:07 +08:00
efe172b0e0 store/tikv:move option from kv to tikv, and make define as a normal int (#23171) 2021-03-22 20:13:36 +08:00
b983856ddf store/tikv:mv kv.ReplicaReadType to tikv (#23376) 2021-03-19 21:19:36 +08:00
92b1b8e0e9 planner: check schema stale for plan cache when forUpdateRead (#22381) 2021-03-19 17:25:36 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
1ab3b489f4 txn: fix the ttlmanager and cleanup logic for 1pc and async commit (#23342) 2021-03-18 12:52:55 +08:00
da0b6eb20c *: fix processlist.txnstart when tidb_snapshot is set (#23381) 2021-03-18 11:30:55 +08:00
080ed4ee7b store/tikv:move mockCommitErrorEnable from kv to tikv since it is only used in tikv (#23355)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: disksing <i@disksing.com>
2021-03-17 17:13:30 +08:00
26ccbe972a *: create int primary key table as nonclustered by default (#23046) 2021-03-16 19:19:49 +08:00
f7e22e1ebf planner: fix {index,hash,merge} join on range suffix condition clustered index (#23294) 2021-03-16 17:42:55 +08:00
cad8e15db2 store/tikv: remove kv.Snaphost from store/tikv (#23318) 2021-03-15 18:54:55 +08:00
2bea06ed23 util, types: don't let SPM be affected by charset (#23161) 2021-03-12 22:39:10 +08:00
fcf60e0a27 planner, table: set PrimaryPrefixColumnIds correctly (#23250) 2021-03-12 21:18:55 +08:00
088fe75b1c session: enable async commit in new clusters (#23274)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-03-12 21:02:59 +08:00
035c15f7da *: rename tiflash fallback switch (#22886)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-12 18:21:48 +08:00
1d99292455 *: hide the system variables tidb_track_aggregate_memory_usage (#23184) 2021-03-12 17:59:21 +08:00
276dd0e69e util: optimize the performance of restore with db (#22910) 2021-03-12 16:46:56 +08:00
67e4528018 executor: initialize expensive query handler on domain creation (#21340) 2021-03-11 16:10:55 +08:00
c22cbc0d10 executor: truncate column values from index KV during admin check (#23218) 2021-03-10 18:35:40 +08:00
f8da635f5a *: refactor and fix the usages of DecodeIndexKV for clustered index (#23096) 2021-03-10 16:46:55 +08:00
bdfcaf883e executor: skip lock key if lock key is empty (#23188) 2021-03-09 22:46:54 +08:00
a67f8e6839 planner: fix indexJoin(also hash, merge) on prefixed clustered index (#23094) 2021-03-09 19:42:55 +08:00
b8f6ac0dd3 *: fix wrong replace or insert-on-dup behavior on prefixed clustered index (#23091) 2021-03-09 16:54:55 +08:00
d29febf93f session,util/sqlexec: clean up code for deprecated API (#23153) 2021-03-08 17:48:54 +08:00
707cb0a942 kv: unify the BeginWith... function into one (#23130) 2021-03-05 17:56:56 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
50aec2b2d2 planner: enable column pruning for common handle (#22940) 2021-03-04 14:42:54 +08:00
9768e45476 session: add a test case for issue 19127 (#21010) 2021-03-04 11:50:54 +08:00
6f250b625e *: fix a bug that collation is not handle for text type (#23045) 2021-03-03 22:04:54 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
642527d740 planner: choose non-prefix column when both index key and handle have the same one (#22980) 2021-03-01 20:48:54 +08:00
6bd6df7d1e planner: let tikv know primary prefix columns info (#22829) 2021-03-01 16:20:54 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00