Commit Graph

410 Commits

Author SHA1 Message Date
3711df6973 go.mod:update br to the newest master (#23654) 2021-03-30 13:27:24 +08:00
9b4ae3a0fb go.mod: update parser to fix panic on connection verification (#23532) 2021-03-25 21:35:23 +08:00
86c8bf0550 *: update PD dependency to latest master (#23475) 2021-03-24 12:09:37 +08:00
7d113f0dbe ddl: add truncate partition all support (#23040) 2021-03-19 23:11:36 +08:00
96a0cda96e go.mod: update BR dependency to the latest (#23429) 2021-03-19 15:45:36 +08:00
915dde1f93 tidb: fix parquet dep version (#23416) 2021-03-18 21:28:35 +08:00
6ba51c8eac plan: setting not null flag for extrak pk (#23237) 2021-03-18 17:27:36 +08:00
fd706ab76b go.mod:update br to the latest version (#23379) 2021-03-17 19:32:55 +08:00
0bfef64e2f config: add pd client option to enable request redirection (#23025) 2021-03-16 18:22:55 +08:00
2bea06ed23 util, types: don't let SPM be affected by charset (#23161) 2021-03-12 22:39:10 +08:00
f77bbc4cb2 planner/core: pass the elems info to fieldtype only for exchanger (#23203)
* planner/core: pass the elems info to fieldtype only for exchange receiver.

* address comments

* address comments

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-12 18:50:53 +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
276dd0e69e util: optimize the performance of restore with db (#22910) 2021-03-12 16:46:56 +08:00
362883c245 expression, planner: allow pushdown count distinct when enumerate physical plans (#22867) 2021-03-11 19:22:55 +08:00
7fdfc44f8c statistics: add tests for analyze with dynamic partition prune mode (#23113) 2021-03-05 16:26:54 +08:00
4a598acf63 store/copr: polish the tiflash-tikv fallback function. (#23078) 2021-03-04 20:42:54 +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
d3fe2187a9 statistics: introduce a new kind of syntax to drop global-stats (#23061) 2021-03-03 14:50:54 +08:00
622f702aae store/mockstore/unistore: refine and add more mpp tests (#22803)
* refine and add more tests

* fix make dev and address comments

* fix make dev
2021-03-03 14:31:05 +08:00
d94920e4a9 statistics: support dropping partition/global level statistics (#23023) 2021-03-02 16:52:48 +08:00
a8b50104df *: update PD client (#23043) 2021-03-02 11:46:54 +08:00
6bd6df7d1e planner: let tikv know primary prefix columns info (#22829) 2021-03-01 16:20:54 +08:00
8a490e96b5 parser: quote identifier with backquote when getting SQL digest (#22893) 2021-02-26 14:54:54 +08:00
dd5457fbdf Revert "*: upgrade go version to 1.16 (#22895)" (#22906)
This reverts commit ae46cda24e7fee5b173fda51fee24444e9bac458.

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 15:04:48 +08:00
ae46cda24e *: upgrade go version to 1.16 (#22895) 2021-02-24 10:42:43 +08:00
99c0abada3 tikv/interface:remove kv.Storage from tikv.Storage (#22868) 2021-02-23 09:58:45 +08:00
c9e85ec701 expression: refine performance of EXTRACT function (#22701) 2021-02-19 15:31:27 +08:00
46acccede1 *: uprgade gopsutil to v3.20.12 (#22747) 2021-02-05 15:50:11 +08:00
d16241c0cc client: update PD client to make sure the TSO uniqueness (#22476)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-02-04 18:14:46 +08:00
2fc1703a9c session, exectutor: Guarantee external consistency by default; Add an explicit begin statement to disable it (#22597)
Signed-off-by: ekexium <ekexium@gmail.com>
2021-02-04 16:09:46 +08:00
ee876397ac unistore/cophandler: change the logic of mpp execution in unit test. (#22428) 2021-02-01 19:06:42 +08:00
c461f363f9 gc_worker: Set endKey parameter of ScanLock request (#22519)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2021-01-29 10:31:44 +08:00
355fdfee4b brie: update br pkg to latest master (#22528) 2021-01-28 23:49:45 +08:00
0aa476034a go.mod, statistics, planner: replace TIDB_STATS with STATS_EXTENDED (#22492) 2021-01-25 21:18:07 +08:00
8cc5e170e9 *: using a lru cache in cachedb (#22312)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-09 14:48:58 +08:00
c2ee8d37c2 *: bump tidb's parser to the latest version (#22218)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-08 17:58:58 +08:00
6e98d18e94 planner: push down projection for tiflash (#21459) 2021-01-07 11:41:44 +08:00
8ef1031623 *: remove tidb-lightning pkg to fix unexpected config change (#22164) 2021-01-06 14:17:34 +08:00
xhe
ffd9011665 ddl: refine placement spec building by yaml (#22018)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-05 12:33:14 +08:00
d337bf4cd4 parser: update parser and add test for parse identifier (#21908) 2020-12-24 11:48:32 +08:00
0bffd79fe9 *: update gopsutil dependency to fix build on freebsd (#21687) 2020-12-22 10:35:09 +08:00
503819bb41 txn: change resolve cache logic (#21844) 2020-12-18 16:14:35 +08:00
e90b93098c server: cleanup authswitchrequest (#20970) 2020-12-16 11:56:35 +08:00
b4eee287af *: extract topn out of histogram correctly (#21007)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
2020-12-10 17:05:39 +08:00
bc41e47360 store/tikv: support fallback from async commit (take 2) (#21531)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-12-10 12:16:21 +08:00
0f9d77b07f ddl: Support adding a middle state in altering placement policies (#21356) 2020-12-07 15:12:58 +08:00
90c7987763 executor: add SHOW STATS_TOPN (#21403) 2020-12-01 17:02:51 +08:00
026305eb02 *: update go.mod for sysutil (#21373)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-30 15:49:05 +08:00
76427cbd09 *: update the tools dependence (#21370) 2020-11-30 15:13:58 +08:00
67f9a24341 store/tikv: retry the same scan request when there is a response-level lock (#21348)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-11-30 14:59:59 +08:00