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
fa3e45653f
store: use RLock when reading snapshot.replicaRead snapshot.taskID ( #21627 )
2020-12-10 12:01:51 +08:00
254ee2db27
store: support maintaining labels in Store ( #21565 )
2020-12-10 11:47:38 +08:00
d0c9c5e03d
store: add RLock when reading tikvSnapshot.mu.stats ( #21606 )
2020-12-09 19:40:01 +08:00
0eb8ff97bc
executor: open childExec during execution for UnionExec ( #21561 )
2020-12-09 15:10:15 +08:00
69b88e48d6
tests: add mpp mock test, part 1 ( #21367 )
2020-12-09 12:49:48 +08:00
28c9e9290b
*: gocritic fixes for commentFormatting ( #21578 )
2020-12-09 12:03:17 +08:00
1b12071e52
coprocessor: Support changing maxRanges ( #21542 )
2020-12-08 13:36:17 +08:00
22e5ebd310
*: use the Local TSO to update ForUpdateTS ( #21490 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2020-12-04 13:41:47 +08:00
43cccbb72f
*: dispatch the local and global transactions ( #21353 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2020-12-04 10:34:48 +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
78ad1447c0
tikv: distinguish server timeout and server busy error for TiKV and TiFlash ( #21109 )
2020-12-03 17:16:48 +08:00
051285a572
txn: fix the inconsistency caused by amend, support unique index amend ( #21267 )
2020-12-02 12:04:47 +08:00
0e2f18d8f9
store, config, session: Use system variables to enable async commit and 1PC ( #21365 )
...
* add a system variable for enabling async commit
Signed-off-by: ekexium <ekexium@gmail.com >
* remove async commit enable config item
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for enabling 1PC
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* remove 1pc item in config
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* correct the condition to enable 1pc
Signed-off-by: ekexium <ekexium@gmail.com >
* do not enable 1pc/async commit on bootstrap if store is not tikv
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor checkAsyncCommit
Signed-off-by: ekexium <ekexium@gmail.com >
* fix test: enable async commit or 1PC by setting txn options
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for external consistency
Signed-off-by: ekexium <ekexium@gmail.com >
* remove external consistency config item
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: checkXXX does not need parameters
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: add a helper function to pessimistic_test
Signed-off-by: ekexium <ekexium@gmail.com >
* change allowed scope to global or session
Signed-off-by: ekexium <ekexium@gmail.com >
* fix external consistency test
Signed-off-by: ekexium <ekexium@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-12-02 11:49:57 +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
55c106afb8
store/tikv: fix async commit amend txn failure with update statement ( #21281 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-11-26 17:54:01 +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
051dc83bf9
store/tikv: reduce BatchGet pending keys only when there is no response-level error ( #21157 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-11-26 16:20:51 +08:00
183f2f3f97
infoschema: fix inaccurate statistics of TIDB_HOT_REGIONS ( #21278 )
...
Signed-off-by: Ryan Leung <rleungx@gmail.com >
2020-11-26 15:49:52 +08:00
4af99998d5
store, executor: Add rateLimitAction Ticase ( #20901 )
2020-11-26 13:56:51 +08:00
e01f5e41c2
store, session: Introduce system variable to control ratelimit action ( #21259 )
2020-11-25 20:27:38 +08:00
af58658b63
*: implement priority control for OOM Action ( #21170 )
2020-11-25 19:44:26 +08:00
07ff41d0c4
coprocessor: Update KvProto ( #20966 )
...
Signed-off-by: Breezewish <me@breeswish.org >
2020-11-25 11:06:55 +08:00
65c8cb6354
store, executor: refactor ratelimitAction ( #21168 )
2020-11-24 16:20:00 +08:00
61b9930c5c
tikv: don't set undetermined error for cancelled prewrites ( #20983 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-11-19 17:02:53 +08:00
91cd12f83f
store: update the PD client to support the Global/Local TSO ( #20980 )
2020-11-19 15:30:43 +08:00
6a175f1036
distsql: fix issue of table reader runtime stats display wrong result. ( #21072 )
2020-11-19 11:43:43 +08:00
c5caca14c5
tikv: add size limit to batch get cache ( #21015 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-11-19 11:14:43 +08:00
c23394e954
test: migrate tiflash mock test from mocktikv to unistore ( #21038 )
2020-11-17 16:05:58 +08:00
c20369d075
tikv: fix race at minCommitTS ( #21032 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-11-17 13:23:57 +08:00
9c3b93750a
pd: rename GetMemberInfo to GetAllMembers ( #20218 )
...
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com >
2020-11-17 11:18:56 +08:00
d1bc99547d
unistore: remove remaining juju/errors dependencies ( #20744 )
2020-11-13 17:26:05 +08:00
8a4b52e3e1
store/tikv: fix log of sendTxnHeartBeat ( #21017 )
...
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com >
2020-11-13 11:16:25 +08:00
9af236c1b7
tikv: support external consistency when async commit is on ( #20276 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-11-12 14:43:23 +08:00
7c65ca90df
store/tikv: Make most of async commit's unit test able to run with TiKV ( #20933 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2020-11-11 20:54:23 +08:00
611d24911e
store, executor: Fix TestCoprocessorOOMAction may get stuck. ( #20897 )
2020-11-11 11:07:15 +08:00
ee77412f54
executor, kv, store/tikv: support cache for point select ( #20396 )
2020-11-11 10:41:49 +08:00
af8dee160e
store/tikv: Fix the issue that context canceled error during commit RPC is not treated as undetermined error ( #20857 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2020-11-09 13:22:30 +08:00
36ca73db53
store, executor: Fix coprocessor layer may encounter deadlock due to OOM ( #20697 )
2020-11-06 14:15:04 +08:00
8c418b9773
store/tikv: Fix goroutine leak in tikv client ( #20808 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2020-11-05 14:35:31 +08:00
0498d1dd43
unistore: collect ExecutorExecutionSummary and return by DAGResponse ( #20769 )
2020-11-04 13:38:21 +08:00
382bd9e0fd
txn: Support 1PC for transactions that only have one prewrite request ( #20313 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2020-11-03 13:11:40 +08:00
f1c464a86a
collation: add utf8mb4_zh_pinyin_tidb_as_cs collation interface ( #20504 )
2020-11-03 11:35:39 +08:00
369c12f779
[planner, executor, kv]: refine and extract mpp codes to the right place ( #20691 )
2020-11-02 14:30:47 +08:00
ce29f22ed9
store, executor: Fix rateLimitAction may fail to destroy token ( #20644 )
2020-10-28 13:39:58 +08:00
fd84a91895
ddl, tikv: add delay during AddIndex DDL and remove schema check for async commit ( #20550 )
2020-10-28 11:48:34 +08:00
272f964031
executor: support global kill ( #17649 )
2020-10-27 19:39:20 +08:00
b25f69ec38
move defer ttlManager.close ( #20650 )
...
Signed-off-by: ekexium <ekexium@gmail.com >
2020-10-27 10:52:33 +08:00
0d613a2dfa
[executor, store/tikv]: implement a prototype for MPP framework. ( #19954 )
2020-10-26 14:46:47 +08:00