Commit Graph

746 Commits

Author SHA1 Message Date
619c472005 store/tikv: remove IsolationLevel option (#24335) 2021-04-28 15:25:56 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
6bea505237 store/tikv:move error from kv into package error (#24294) 2021-04-27 15:21:56 +08:00
7e15333920 store/tikv: move kv.TxnInfo to store/tikv (#24216) 2021-04-26 23:27:56 +08:00
6f068bcd1e store/tikv:move LockExpire error from tikv package to tidb since it i… (#24269) 2021-04-26 19:27:56 +08:00
6084a6a5ff variable: change SetSessionSystemVar to accept string (#24247) 2021-04-26 11:47:55 +08:00
67e63d9ffa variable: merge Bool{On,Off} with {On,Off} (#24218) 2021-04-23 13:09:54 +08:00
2de4a918ac variable: refactor session/global validation (part 8) (#24100) 2021-04-23 12:07:54 +08:00
39762c9d19 store/tikv: move kv.Variables from tidb/kv to tikv/kv package (#24189) 2021-04-23 10:41:54 +08:00
1f95d7de83 variable: add global, session variable cte_max_recursion_depth (#24170) 2021-04-21 15:15:54 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
2fa09ddcd6 store/tikv, session: Fix incorrect TestAsyncCommitWithSchemaChange and unstable Test1PCWithSchemaChange (#24082) 2021-04-20 16:25:53 +08:00
53c5d6e465 session, store: Reduce log spam of duplicate key errors (#24101) 2021-04-20 14:21:52 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
xhe
3ec37294f1 ddl: refactor constraint [2/6] (#24005) 2021-04-17 00:49:51 +08:00
720c47e4b8 *: don't allocate SessionIndexUsageCollector when indexUsageLease equals 0 (#23931) 2021-04-16 23:39:51 +08:00
f85e02b7b7 mocktikv: split mock coprocessor and mock tikv (#24064) 2021-04-16 19:39:53 +08:00
a53cf42075 execdetails: move execdetails to store/tikv (#23985) 2021-04-15 15:13:55 +08:00
58fb30f4d6 session: fix global variable collation_server does not take effect in new session (#23932) 2021-04-15 13:03:53 +08:00
7d1a6a373d executor: fix logging format of prepared statements (#16062) (#22984) 2021-04-14 16:59:52 +08:00
46aca1ad0c session, executor: skip some frequent unstable test cases (#24003) 2021-04-14 15:39:52 +08:00
69675ead57 store/tikv: move CommitDetails and LockDetails to tikv/util (#23854)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-09 20:56:24 +08:00
e18cab75e2 Revert "*: don't allocate SessionIndexUsageCollector when indexUsageLease equals 0" (#23929) 2021-04-09 15:05:26 +08:00
8913c8c1d7 store/tikv:remove "tidb/tablecodec" from snapshot.go (#23686)
Signed-off-by: shirly <AndreMouche@126.com>
2021-04-07 16:16:50 +08:00
6cff35892c *: don't allocate SessionIndexUsageCollector when indexUsageLease equals 0 (#23861) 2021-04-07 14:18:16 +08:00
3154af1e94 variable: refactor session/global validation (part 3) (#23719) 2021-04-02 11:27:24 +08:00
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