|
|
bdfcaf883e
|
executor: skip lock key if lock key is empty (#23188)
|
2021-03-09 22:46:54 +08:00 |
|
|
|
284da110b2
|
executor: fix cast function will ignore tht error for point-get key construction (#22869)
|
2021-03-09 18:14:55 +08:00 |
|
|
|
29908c67e7
|
store, executor: support stale read for tikv RPCContext (#22176)
|
2021-03-05 18:12:55 +08:00 |
|
|
|
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 |
|
|
|
73a6f53a3a
|
*: cache batch point get for read-only table (#22165)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
|
2021-01-07 14:19:44 +08:00 |
|
|
|
56d3f6b471
|
executor: support forbiding cross dc read for pointGet (#21840)
|
2020-12-22 15:31:31 +08:00 |
|
|
|
25daaee0c0
|
add switch for point get cache (#21669)
|
2020-12-15 17:00:15 +08:00 |
|
|
|
8eaca0ecd4
|
executor: rename 'tryDecodeFromHandle' param to fix name shadow (#21567)
|
2020-12-08 21:59:48 +08:00 |
|
|
|
f51bdfc514
|
executor: do not read from lock cache when snapshot read (#21529)
Signed-off-by: you06 <you1474600@gmail.com>
|
2020-12-07 20:17:17 +08:00 |
|
|
|
83814613e1
|
executor, store/tikv: locks exist keys for point_get & batch_point_get (#21229)
Signed-off-by: you06 <you1474600@gmail.com>
|
2020-12-03 21:28:48 +08:00 |
|
|
|
72794461eb
|
*: support read only lock (#21100)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
|
2020-11-25 10:06:54 +08:00 |
|
|
|
d12eb1b174
|
executor: Fix IndexMergeReader works incorrectly under RC isolation level (#21208)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
|
2020-11-24 17:39:54 +08:00 |
|
|
|
e6e894dcc4
|
executor: add missing update table delta for TxnCtx (#20982)
|
2020-11-19 10:58:45 +08:00 |
|
|
|
ee77412f54
|
executor, kv, store/tikv: support cache for point select (#20396)
|
2020-11-11 10:41:49 +08:00 |
|
|
|
99d1163cbc
|
*: use ID instead of NAME in mysql.schema_index_usage (#20589)
|
2020-10-23 14:42:29 +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 |
|
|
|
bada2801ac
|
*: fix cop task runtime information is wrong in the concurrent executor (#19849)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-09-11 14:14:37 +08:00 |
|
|
|
650be7c438
|
execute: add rpc runtime stats information for insert/update/replace statement (#19334)
|
2020-08-24 16:10:33 +08:00 |
|
|
|
a2e2ce6339
|
*: use int instead of fmt.Stringer as executor id (#19207)
|
2020-08-19 13:39:31 +08:00 |
|
|
|
ed4004ac04
|
executor: fix apply with union scan and point batch point get (#19128)
|
2020-08-12 10:49:30 +08:00 |
|
|
|
d81150394f
|
executor: fix cluster index encode wrong key in plan cached point get (#19033)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-08-10 14:44:14 +08:00 |
|
|
|
c397584065
|
executor: add runtime information for the batch-point-get executor (#18828)
|
2020-07-30 12:35:41 +08:00 |
|
|
|
6ce8f0f56a
|
txn: support pessimistic transaction amend for specific ddls (#18447)
|
2020-07-29 11:35:31 +08:00 |
|
|
|
8b19d67bad
|
executor: add runtime information for point-get executor (#18666)
|
2020-07-28 14:20:36 +08:00 |
|
|
|
8a661044ce
|
multi-query prefetch support pessimistic transaction (#18439)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-10 18:47:56 +08:00 |
|
|
|
6fa2badf38
|
util: move codec logic into tablecodec package (#18173)
* move codec logic into tablecodec package
* add key generation using physical table id
* remove using prefix
* change comment
* fix conclict
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-06-24 17:43:10 +08:00 |
|
|
|
7daa4a7f88
|
*: fix bugs that creating index on clustered index table or table with the virtual generated column (#18114)
|
2020-06-19 19:58:37 +08:00 |
|
|
|
fa551115e6
|
*: fix update bug in cluster index (#18045)
|
2020-06-16 17:06:26 +08:00 |
|
|
|
05b2e2bdcc
|
*: refactor Execute() and clean up code (#17678)
- implement Execute using ExecuteStmt
- Execute is only for internal usage and accept only one statement
- clean up the old execute function
|
2020-06-09 13:58:39 +08:00 |
|
|
|
88dfb22dc5
|
executor: support batch-get cluster index & add test case (#17858)
|
2020-06-09 13:40:47 +08:00 |
|
|
|
73c4673f30
|
*: support update/delete/insert ignore/duplicate update in single cluster index table (#17721)
|
2020-06-08 20:55:31 +08:00 |
|
|
|
d66d5028da
|
*: support plain insert on cluster index table (#17674)
|
2020-06-05 13:23:43 +08:00 |
|
|
|
39fe08ab58
|
store/mockstore: make unistore the default mockstore (#17558)
|
2020-06-01 18:45:15 +08:00 |
|
|
|
3176b00c02
|
executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison (#17245)
|
2020-05-20 13:55:18 +08:00 |
|
|
|
1417ba2288
|
*: fix a bug that don't handle truncate properly for virtual generated column (#17217)
|
2020-05-14 20:57:55 +08:00 |
|
|
|
526a711c67
|
session, tikv: allocate task IDs for distsql requests (#16520)
|
2020-05-13 11:47:05 +08:00 |
|
|
|
5d74cf582d
|
executor: fix unique index point get read with delete first (#16965)
|
2020-05-04 22:11:56 +08:00 |
|
|
|
51dabaabef
|
*: refactor Handle in executor package (#16871)
|
2020-04-28 21:27:19 +08:00 |
|
|
|
6814f8c94b
|
*: refactor Handle in table package (#16807)
|
2020-04-27 10:04:50 +08:00 |
|
|
|
35a801bc9b
|
txn: fix read val from lock cache from RC (#16771)
|
2020-04-24 10:24:49 +08:00 |
|
|
|
af376db3dc
|
*: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
|
2020-04-23 18:55:59 +08:00 |
|
|
|
cad52c1f6e
|
*: do not lock the non-exists keys in RC isolation (#15803)
|
2020-03-31 11:11:12 +08:00 |
|
|
|
5282d089c7
|
executor: support generated column on point get and batch point get (#15544)
|
2020-03-23 14:21:35 +08:00 |
|
|
|
53e5197b02
|
executor: reuse transaction snapshot if applicable (#15400)
|
2020-03-16 18:25:54 +08:00 |
|
|
|
1b7cc5daa3
|
executor: rename startTS to snapshotTS in executor builder (#15396)
|
2020-03-16 14:10:24 +08:00 |
|
|
|
f96884af93
|
*: fix BatchPointGet return empty value for already locked key. (#15365)
|
2020-03-14 18:43:31 +08:00 |
|
|
|
248be5bba5
|
planner: push down Lock to PointGet and BatchPointGet (#15257)
|
2020-03-11 13:58:32 +08:00 |
|
|
|
82ca1f3f44
|
*: support pessimistic lock return values (#15063)
|
2020-03-03 15:11:17 +08:00 |
|
|
|
41142266b2
|
*: use SetString() for string instead of SetBytes() (#14989)
|
2020-03-02 15:48:10 +08:00 |
|