Commit Graph

385 Commits

Author SHA1 Message Date
3ed698259d infoschema: maintain the snapshotTS in the infocache (#25322) 2021-06-11 22:42:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
dffba21956 *: move executor/set.go special handling to setter functions (#25008) 2021-06-03 13:22:26 +08:00
11e7ac65f6 session, variable, domain: optimize session sysvar cache (#24873) 2021-05-25 18:01:34 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
9148ff9f44 ddl, transaction: DDL on temporary tables won't affect transactions (#24534) 2021-05-17 22:31:39 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
xhe
2ca98e393c *: compatibility with staleread (#24285) 2021-05-17 19:53:39 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
d168fc4e60 infosync, types: Truncate float for TiFlash replica progress (#24299) 2021-04-27 19:19:56 +08:00
a6bde1e4ef ddl: add http api to set customized ddl hook for remote ticase test (#24198) 2021-04-27 14:57:56 +08:00
7a224f10ca telemetry: log when sending telemetry (#24125) 2021-04-21 14:35:54 +08:00
6faec865c0 store/tikv:move MaxTxnTimeUse from kv to store/tikv (#23995) 2021-04-16 10:53:51 +08:00
a90e4f2b29 telemetry: fix prepare stmt and copr cache (#23526) 2021-03-25 16:15:15 +08:00
4b7a3767b0 telemetry: Fix window algorithm (#23518) 2021-03-25 11:37:23 +08:00
5243049e18 telemetry: add copr-cache, tiflash, cluster index, async commit (#23454) 2021-03-23 20:27:07 +08:00
67e4528018 executor: initialize expensive query handler on domain creation (#21340) 2021-03-11 16:10:55 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
5706c0ca13 domain: fix err check (#22990) 2021-03-01 11:10:53 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00
17a65ab98b statistics: refactor the statistics package use the RestrictedSQLExecutor API (#22636) 2021-02-03 13:28:57 +08:00
3dff7cd348 store/tikv: resolve variable dependency (#22609)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 15:52:14 +08:00
ea6ccf82e9 *: refactor the RestrictedSQLExecutor interface (#22579) 2021-01-29 12:56:44 +08:00
0ffa605737 metrics: add server info metric (#22556)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2021-01-27 15:14:57 +08:00
d0ca720a5f *: support ALTER TABLE ADD / DROP TIDB_STATS (#22127) 2021-01-14 15:28:28 +08:00
4a4acbe5fd statistics: GC index usage information (#21014) 2021-01-05 15:02:19 +08:00
be29d7e054 ddl: fix db_test failure caused by domain reload delay under a high overload (#21928)
Signed-off-by: AilinKid <314806019@qq.com>
2020-12-24 15:43:30 +08:00
efc0759961 *: add enable-global-kill with default value FALSE (#21859) 2020-12-17 20:48:34 +08:00
22e5ebd310 *: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 13:41:47 +08:00
f7f48e3586 infosync: omit the 404 error when /config/placement-rule is not existed (#21247)
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2020-11-26 13:43:22 +08:00
4246568d20 domain, kv: release table which was unlocked (#21180) 2020-11-23 16:27:00 +08:00
975bbaf294 ddl: release memory cache for all tidb-servers when unlock tables (#21006)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-13 18:06:05 +08:00
8d35f17c17 Update the errors dependence to the latest version (#20917) 2020-11-10 09:50:39 +08:00
xhe
9cb558d03c ddl: remove useless placement methods (#20636)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-10-28 15:26:15 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
c54833adb6 infosync: fix query metrics_schema panic when start TiDB without PD/TiKV (#20434) 2020-10-27 17:36:23 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
bdb6c49600 *: collect index usage information from point get and dump them to KV (#20126) 2020-10-16 16:17:34 +08:00
81fa1b37e8 *: refactor GetSnapshot (#20475)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-10-16 11:30:43 +08:00
dcefa58035 *: use global stats & make ddl/feedback/show/export works(part III) (#20271) 2020-10-14 16:11:33 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
xhe
b61f8bb9ed ddl: make use of the new rule cache api[2/3] (#20208)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-09-28 18:44:12 +08:00
xhe
0673f3376f ddl: make use of the new rule cache api[1/3] (#20166)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-09-25 10:27:38 +08:00
xhe
a8b06778c4 ddl: add verification for placement rule request (#20191)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-09-24 10:44:37 +08:00
xhe
934ecf2db1 ddl: add a framework for placement rules cache (#20086) 2020-09-23 14:40:58 +08:00