Commit Graph

443 Commits

Author SHA1 Message Date
627fb5f542 store, metrics: update SafeTS metrics and grafana panels (#25407) 2021-06-16 14:54:38 +08:00
07d16065d1 *: update br and kvproto (#25378) 2021-06-12 00:56:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
89394e4724 *: fix binding doesn't work for CTE (#25308) 2021-06-10 17:00:30 +08:00
d1613086e1 go.mod, go.sum: upgrade automaxprocs version from v1.2.0 to v1.4.0 (#24903) 2021-06-07 20:40:28 +08:00
acdacf186a util: add top sql collector (#24988) 2021-06-04 22:56:28 +08:00
c4d6d8e924 go.mod: update br to the new version (#25127) 2021-06-04 16:28:28 +08:00
69274d8864 store: refine the error handling and retry mechanism for stale read (#24956) 2021-06-03 17:52:26 +08:00
d3de5479a0 planner: support push down broadcast cartesian join to TiFlash (#25049) 2021-06-03 17:38:27 +08:00
bbd5b32c2f *: clean up the logging component (#23534) 2021-06-01 10:43:37 +08:00
ec12617da7 *: update BR (#24905) 2021-05-28 14:17:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
98f0d76bc7 *: clean up the deserted syntax of START TRANSACTION READ ONLY (#24813) 2021-05-25 14:25:33 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
6833280fab *: update go.etcd.io/bbolt (#24799) 2021-05-21 12:58:21 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
956149cdbb planner/core: refresh stale regions in cache for batch cop response (#24457) 2021-05-13 13:35:39 +08:00
dc5c226423 execution: Fix issue 24439 Inconsistent error with MySQL for GRANT CREATE USER ON <specific db>.* (#24485) 2021-05-13 11:15:39 +08:00
6e348f44d2 parser: update parser to fix Can't recognize numeric literals when set 'ANSI_QUOTES' sql_mode (#24522) 2021-05-11 14:41:39 +08:00
c269b11705 store/copr: invalidate stale regions for Mpp query. (#24410) 2021-05-06 13:15:52 +08:00
af6cece281 *: support read and write operations for the global temporary table (#24196) 2021-04-29 21:49:58 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
ae7346fc64 statistics: introduce the weighted reservoir sampling (#24089) 2021-04-22 16:43:54 +08:00
bc4bde76eb *: update br (#24128) 2021-04-19 20:29:52 +08:00
c437c4dadb plugin, tests, tools, tidb: unify go modules (#23610) 2021-04-15 16:17:54 +08:00
1ec1a68135 expression: Fix incorrect pushdown function list. (#23982) 2021-04-14 16:29:53 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +08:00
3d8084e972 store/mockstore/unistore: migrate unistore core lib code to tidb repo for removing tidb dependency on unistore (#23837) 2021-04-07 18:47:00 +08:00
7cf12a68ac *: add test for modifying default length of cast as decimal (#23680) 2021-04-07 13:24:31 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
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