Commit Graph

1634 Commits

Author SHA1 Message Date
263fc63c7a store/tikv: move lock test to /tests (#23635) 2021-04-01 23:59:24 +08:00
a8a7c0170b store/tikv: move sstore test to /tests (#23677)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-01 19:38:07 +08:00
c2cb344c34 store/tikv: avoid placement dependency (#23767)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-01 19:02:28 +08:00
ac4fb02bd6 store/tikv: update scan test (#23762) 2021-04-01 18:11:24 +08:00
f64856bba0 store/tikv: enlarge default committer-concurrency to avoid queuing (#23720) 2021-04-01 01:35:24 +08:00
51a5a3df8f store/mockstore/mocktikv: Add mvccGetByKeyNoLock() to avoid double RLock (#16924) 2021-03-31 18:11:24 +08:00
addbd46c3d store/tikv: fix misuse of PD client's GetStore (#23695) 2021-03-31 11:33:24 +08:00
c9360aed75 region_cache: invalidate region after meeting store_not_match (#23664) 2021-03-30 19:07:24 +08:00
402e3c8511 store/tikv: move split test to /tests (#23643) 2021-03-30 17:03:24 +08:00
a8a52c0175 store/tikv: move safepoint test to /tests (#23637) 2021-03-30 16:45:24 +08:00
36971fc151 store/tikv: move scan test to /tests (#23642) 2021-03-30 15:31:23 +08:00
a57638e4e9 store/tikv: move range task test to /tests (#23636) 2021-03-30 13:09:24 +08:00
71e4bd3844 store/tikv/unionstore: remove interface MemBufferIterator (#23629) 2021-03-30 12:53:25 +08:00
73f6ba78d0 store/tikv: move delete range test to /tests (#23634) 2021-03-30 11:43:24 +08:00
f08e76cb1c store/tikv/kv:move tikv/error.go to tikv/kv/error.go (#23627) 2021-03-30 11:03:23 +08:00
0059395634 store/tikv: remove dependency on kv.StoreType (#23558) 2021-03-29 19:25:24 +08:00
e63aaac1f9 store/tikv: move failpoint.go from tikv to tikv/util (#23632) 2021-03-29 18:45:24 +08:00
4ad9c6af86 store/tikv: add more probe functions for tests (#23616)
Signed-off-by: disksing <i@disksing.com>
2021-03-29 18:10:12 +08:00
60d8d29c09 store/tikv: move isolation test to tests (#23580) 2021-03-29 14:45:23 +08:00
8492619a83 store, plan: make mpp workable when some node is not available shortly. (#23589)
* store: provide an option to enable tiflash replica balance

* change timeout error

* fix non-table test

* add comments

* fix dev

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-26 21:27:49 +08:00
6cdfaab99f planner: fix correlated columns in filter or access in MPP apply (#23509) 2021-03-26 20:21:24 +08:00
7a35af8a4c mocktikv: split rpcHandler to kvHandler and coprHandler (#22857) 2021-03-26 19:21:23 +08:00
2df2ca06d2 store/tikv: always switch to a different peer when meets no-leader (#22449) 2021-03-26 19:05:23 +08:00
f45bd9bd21 kv/union_store:move implementation of unionstore into store/tikv (#23490) 2021-03-26 16:40:29 +08:00
a909037110 planner/core: inject project for tiflash agg (#23480) 2021-03-26 12:31:23 +08:00
28243b9610 store/tikv: move prewrite test to tests (#23485) 2021-03-26 10:37:23 +08:00
07db18fc56 txn: consider forceSyncCommit flag for async commit (#23548) 2021-03-25 20:39:23 +08:00
f9adb7f085 store/tikv: Randomize selection of proxy store on network partition (#23530) 2021-03-25 20:13:24 +08:00
5715eefd2b *: Add the metric about the SQL with TiFlash Success (#23426) 2021-03-24 22:15:37 +08:00
35eded065e *: fix structcheck lint warnings (#23062) 2021-03-24 21:09:37 +08:00
aa3f0414d9 store/copr: return ErrTiFlashServerTimeout when MPP meets network error (#23434)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-24 15:24:09 +08:00
906828b159 telemetry: add transaction usage info (#23470) 2021-03-24 14:11:36 +08:00
1cebae21a7 planner, sessionctx: turn on the mpp by default (#23401) 2021-03-23 21:01:37 +08:00
0c11c24b4c store/tikv: move 2pc tests to standalone directory (#23330) 2021-03-23 19:15:37 +08:00
e6576d4000 store/tikv: remove tidb/metrics from store/tikv/oracles (#23418) 2021-03-23 14:05:36 +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
5d7bc9f239 store/tikv: Distinguish req type in forwarding ops metrics (#23438) 2021-03-19 18:45:36 +08:00
e79ac3d978 ddl: delay before changing column from null to not null (#23364)
* ddl: delay before changing column from null to not null

Signed-off-by: Yilin Chen <sticnarf@gmail.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Arenatlx <314806019@qq.com>
2021-03-19 10:17:34 +08:00
3813da0140 store/tikv: forward requests by BatchCommands (#23243) 2021-03-18 23:41:36 +08:00
ab19f061bd store/tikv: Support forwarding via follower when the region's leader is unreachable (#23244)
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2021-03-18 20:34:14 +08:00
d370409faa store/tikv: remove tidb/metrics from store/tikv (#23302) 2021-03-18 19:37:36 +08:00
9f8888755c gc: central GC mode is deprecated (#23389) 2021-03-18 15:01:36 +08:00
1ab3b489f4 txn: fix the ttlmanager and cleanup logic for 1pc and async commit (#23342) 2021-03-18 12:52:55 +08:00
77713d228d store/tikv: forward requests by unary call (#23362) 2021-03-17 18:32:55 +08:00
080ed4ee7b store/tikv:move mockCommitErrorEnable from kv to tikv since it is only used in tikv (#23355)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: disksing <i@disksing.com>
2021-03-17 17:13:30 +08:00
5b892a86b8 store/tikv:remove the usage of kv.TransactionOption (#23352) 2021-03-17 16:04:55 +08:00
6219f55752 store/tikv: resolve util dependency (#23082) 2021-03-17 14:00:56 +08:00
0bfef64e2f config: add pd client option to enable request redirection (#23025) 2021-03-16 18:22:55 +08:00
f70177ec72 *: unify_log_lib (#23093) 2021-03-16 18:06:55 +08:00