Commit Graph

237 Commits

Author SHA1 Message Date
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
9505b4bc69 sli: move small read duration metrics to store/tikv (#25343) 2021-06-11 12:00:36 +08:00
9900f889cb Metric: Collect TiKV Read Duration Metric for SLI/SLO (#23884) 2021-06-09 18:56:29 +08:00
f81ef55795 planner: solve an incompatible issue about dynamic-mode and TiFlash and enable dynamic mode by default (#25255) 2021-06-08 20:08:28 +08:00
0999df9223 planner: support explain analyze for mpp task with union (#24898) (#25081) 2021-06-03 21:36:26 +08:00
702c86b8f9 *: add global/instance variable to config top sql (#24934) 2021-05-31 15:17:36 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
2df8c3bfd1 store/tikv: resolve ReplicaReadType dependencies (#24653) 2021-05-17 14:09:39 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
0ec8f2d9fb store/tikv: remove use of Priority transaction options in store/tikv (#24360) 2021-04-29 13:59:57 +08:00
619c472005 store/tikv: remove IsolationLevel option (#24335) 2021-04-28 15:25:56 +08:00
39762c9d19 store/tikv: move kv.Variables from tidb/kv to tikv/kv package (#24189) 2021-04-23 10:41:54 +08:00
3f6dfe91da distsql: refactor range splitting logic & comments on int64 boundary (#23991) 2021-04-15 21:51:53 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +08:00
01b05745d8 execdetails: refine cop task execution stats display in plan (#23461) 2021-04-01 22:05:24 +08:00
291e8ef8b5 telemetry: fix incorrect value for copr cache (#23577) 2021-03-26 14:30:58 +08:00
a90e4f2b29 telemetry: fix prepare stmt and copr cache (#23526) 2021-03-25 16:15:15 +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
6b69883410 MPP: Kill mpp queries (#23056)
* run ok

* update comments

* send cancle cmd to all tiflash stores

* updated

* log error if sending failed

* update comments

* disable send task when being killed

* update function name

* add test for kill mpp when mocking grpc hang

* update imports

* update comments

* clean go.mod

* updated

* use cancel to avoid goroutine leak, ensure cancellMppTasks being called just once

* update go.mod

* add test for avoiding goroutine leak

* update test

* update test

* remove unnecessary leak test
2021-03-12 17:27:30 +08:00
610ac87e0b config: deprecate tikv-client.copr-cache.enable and invisible some copr-cache configs (#22786) 2021-03-10 15:37:51 +08:00
29908c67e7 store, executor: support stale read for tikv RPCContext (#22176) 2021-03-05 18:12:55 +08:00
b911ee50ef distsql: fix err check (#22989) 2021-03-03 19:10:55 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
461cae15a7 planner, distsql: fix the behaviour of building ranges for TiFlash (#22725) 2021-02-21 18:29:46 +08:00
3dd842f50a statistics: add bucket ndv for index histogram (#20580)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-13 18:24:21 +08:00
xhe
289bc7e79c ddl: concurrent safe api for using rule bundles cache (#22035)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-13 10:58:58 +08:00
caa8c16cac execution: support explain analyze in mpp execution. (#22053) 2021-01-07 17:46:59 +08:00
f8bef9b952 session, distsql: make local transaction error msg user-friendly (#22052) 2020-12-31 16:28:33 +08:00
8144e1395d *:Adapt ScanDetailV2 in KvGet and KvBatchGet Response (#21562) 2020-12-30 17:02:44 +08:00
9ef7246d29 executor: fix data race in extractTxnScope (#21929) 2020-12-23 15:34:30 +08:00
392043ae15 fix cop stats string display when there is only 1 rpc (#21901) 2020-12-22 19:59:27 +08:00
56d3f6b471 executor: support forbiding cross dc read for pointGet (#21840) 2020-12-22 15:31:31 +08:00
ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) 2020-12-21 15:30:30 +08:00
f5a3a38bfe *: fix bug that broadcast join/MPP not compatible with clustered index (#21663) 2020-12-15 11:42:55 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
32d19b78e1 *: refine runtime stats display and tiny bug fix for metrics (#21022)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-26 16:35:25 +08:00
e01f5e41c2 store, session: Introduce system variable to control ratelimit action (#21259) 2020-11-25 20:27:38 +08:00
6a175f1036 distsql: fix issue of table reader runtime stats display wrong result. (#21072) 2020-11-19 11:43:43 +08:00
b468a8a4fb distsql, util: adapt scandetailv2 in coprocessor response (#20492) 2020-10-28 15:56:24 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
0d613a2dfa [executor, store/tikv]: implement a prototype for MPP framework. (#19954) 2020-10-26 14:46:47 +08:00
58f2a48b11 *:add the indexlookup runtime stats infomation (#20145) 2020-10-23 19:33:15 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
fe84373309 session: make tidb_replica_read work correctly (#20386)
Signed-off-by: qupeng <qupeng@pingcap.com>
2020-10-20 17:35:26 +08:00
c808997d25 store, util: adapt scandetailv2 in coprocessor response (#20391) 2020-10-16 14:25:57 +08:00
50f5ddc70e executor,distsql: support multiple physical tables in one table reader (#20404) 2020-10-14 20:05:26 +08:00