Commit Graph

82 Commits

Author SHA1 Message Date
9e928b2321 *: fix weak consistency not work (#31935)
close pingcap/tidb#31933
2022-01-25 14:24:11 +08:00
8ee88265cd planner, distsql: fix the Stale Read and Local Txn compatibility (#31606)
close pingcap/tidb#31604
2022-01-13 22:09:42 +08:00
0ab0dad9da *: allow TiDB to use TiKV's RC for high performance read (#30943)
close pingcap/tidb#30942
2021-12-30 16:57:50 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +08:00
a90344c5a3 planner: regard NULL as point when accessing composite index (#30244) 2021-12-01 10:15:34 +08:00
37e0dac259 copr: add paging API for streaming-like process (#29612) 2021-11-30 13:13:52 +08:00
481455728a *: track the memory usage of IndexJoin more accurate (#29068) 2021-11-24 13:49:50 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
87648de76e store: fix closest_replicas can't work during follower read (#28419) 2021-09-28 15:10:47 +08:00
f710f3d9a3 executor: support selecting store by tidb_replica_read for stale read (#28033) 2021-09-15 14:52:41 +08:00
193b74ecbb executor: rename txnScope as readReplicaScope instead (#27987) 2021-09-14 12:54:40 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
xhe
3bbb2c0fec ddl: refactor bundle[2/2] [6/6] (#22415) 2021-07-08 11:57:29 +08:00
0376dc0c54 executor: fix prepared stale read statement not work (#25746) 2021-06-28 17:55:25 +08:00
799591a06f session: read local dc replicas automatically for stale read (#25525)
* fix select

Signed-off-by: yisaer <disxiaofei@163.com>
2021-06-18 17:13:38 +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
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
3f6dfe91da distsql: refactor range splitting logic & comments on int64 boundary (#23991) 2021-04-15 21:51:53 +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
29908c67e7 store, executor: support stale read for tikv RPCContext (#22176) 2021-03-05 18:12:55 +08:00
461cae15a7 planner, distsql: fix the behaviour of building ranges for TiFlash (#22725) 2021-02-21 18:29:46 +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
f8bef9b952 session, distsql: make local transaction error msg user-friendly (#22052) 2020-12-31 16:28:33 +08:00
9ef7246d29 executor: fix data race in extractTxnScope (#21929) 2020-12-23 15:34:30 +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
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
0b7c7167d1 planner,executor: support global index for IndexScan and IndexLookUpReader (#19821) 2020-09-24 20:50:28 +08:00
ef7772dca4 kv: fix unsafe operation on value returned from memdb (#20063) 2020-09-17 17:18:04 +08:00
b7682ae787 executor: set the coprocessor concurrency to 1 for simple scan with limit. (#19098) 2020-08-30 09:35:44 +08:00
13bd62e183 ddl, executor: fix clustered prefix primary key truncation (#19320)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-20 14:45:22 +08:00
03003538d1 *: fix a lot of typos (#18917) 2020-08-03 11:03:33 +08:00
5250f7f53f *: support clustered index in double read (#18127) 2020-06-23 15:33:38 +08:00
c98514e751 executor: unify executor concurrency (#16999) 2020-06-22 17:39:32 +08:00
7c3e9d2427 *: support analyze on cluster index (#17895) 2020-06-15 10:51:33 +08:00
526a711c67 session, tikv: allocate task IDs for distsql requests (#16520) 2020-05-13 11:47:05 +08:00
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
1637c42d45 distsql: fix wrong schema version when snapshot has been set (#15258) 2020-03-30 22:37:34 +08:00