Commit Graph

1705 Commits

Author SHA1 Message Date
75be70cd4c store/tikv: remove use of SchemaLease transaction option in store/tikv (#24331) 2021-04-29 02:39:56 +08:00
91ca4eafdc store/tikv: remove Pessimistic option (#24332) 2021-04-28 21:21:56 +08:00
349221142b store/tikv: use tikv.error.ErrCannotSetNilValue instead of kv error (#24350) 2021-04-28 21:05:56 +08:00
3f8e8beb21 store/tikv: use tikv.error.ErrEntryTooLarge instead of kv error (#24351) 2021-04-28 20:45:57 +08:00
aaa3b748b3 store/tikv: use tikv.error.ErrInvalidTxn instead of kv.ErrInvalidTxn (#24347) 2021-04-28 19:55:56 +08:00
7df2289f3b store/tikv: remove err kv.ErrNotImplemented from tikv package (#24336) 2021-04-28 19:31:56 +08:00
83ebd6b8d0 store/tikv: remove kvfilter option (#24303) 2021-04-28 19:15:57 +08:00
619c472005 store/tikv: remove IsolationLevel option (#24335) 2021-04-28 15:25:56 +08:00
a1d4d9d028 store/tikv:use tikv.error.ErrNotExist instead of kv.ErrNotExist (#24136) 2021-04-28 12:59:56 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
6bea505237 store/tikv:move error from kv into package error (#24294) 2021-04-27 15:21:56 +08:00
3b85f7d2a0 store/tikv: move batch_getter from tikv package to driver (#24273) 2021-04-27 12:37:56 +08:00
7e15333920 store/tikv: move kv.TxnInfo to store/tikv (#24216) 2021-04-26 23:27:56 +08:00
6f068bcd1e store/tikv:move LockExpire error from tikv package to tidb since it i… (#24269) 2021-04-26 19:27:56 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
af9775aaeb store/tikv/2pc: remove package tablecodec (#24184) 2021-04-26 11:27:55 +08:00
4ac76b4ce5 store/tikv: set memdb's size limits after create (#24215) 2021-04-25 14:49:55 +08:00
da5574a067 */tests: remove ineffectual assignment in tests (#24225) 2021-04-25 11:35:54 +08:00
c25042543a store/tikv: move lock wait time to store/tikv (#24217) 2021-04-25 10:43:55 +08:00
5c338e2013 copr: add missing TestingT (#24224) 2021-04-23 17:49:54 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
39762c9d19 store/tikv: move kv.Variables from tidb/kv to tikv/kv package (#24189) 2021-04-23 10:41:54 +08:00
f973108fc8 store/tikv: copy memory format utility to store/tikv (#24159) 2021-04-22 20:03:53 +08:00
3aa9710868 *: add missing TestingT (#24201) 2021-04-22 19:51:53 +08:00
ae7346fc64 statistics: introduce the weighted reservoir sampling (#24089) 2021-04-22 16:43:54 +08:00
cabeda21e6 tikv: fix pessimistic txn not write binlog in master (#24192) 2021-04-22 13:01:53 +08:00
59b8da7f51 store/tikv: ignore all locks except the first met lock in autocommit get (#24084) 2021-04-21 14:15:53 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
20063644d4 store/tikv:new testleak in tikv package (#24056) 2021-04-20 17:27:53 +08:00
2fa09ddcd6 store/tikv, session: Fix incorrect TestAsyncCommitWithSchemaChange and unstable Test1PCWithSchemaChange (#24082) 2021-04-20 16:25:53 +08:00
0f5e96a386 mocktikv: move split test into mockstore (#24152) 2021-04-20 14:39:52 +08:00
53c5d6e465 session, store: Reduce log spam of duplicate key errors (#24101) 2021-04-20 14:21:52 +08:00
fa39b79006 store/tikv: remove execdetails dependency (#24119) 2021-04-20 13:41:52 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
bc4bde76eb *: update br (#24128) 2021-04-19 20:29:52 +08:00
9a407ed9f7 mocktikv: resolve misc dependencies (#24106) 2021-04-19 15:07:52 +08:00
1c45ce43b5 mocktikv: use codec inside store/tikv (#24105) 2021-04-19 14:57:52 +08:00
e009938aeb util: move deadlock into mocktikv (#24103) 2021-04-19 14:39:52 +08:00
76ba3c84ac store/tikv: move mocktikv into tikv (#24099) 2021-04-19 12:07:52 +08:00
f85e02b7b7 mocktikv: split mock coprocessor and mock tikv (#24064) 2021-04-16 19:39:53 +08:00
eb526b0c16 *: pre-allocate memory for slices (#24048) 2021-04-16 19:29:51 +08:00
893b370d75 mocktikv: extract coprRPCHandler (#24069) 2021-04-16 14:29:51 +08:00
99eabdb150 mocktikv: add exported functions to session (#24068) 2021-04-16 13:51:51 +08:00
281d134657 mocktikv: move coprHandler to standalone file (#24067) 2021-04-16 12:21:51 +08:00
fc3f8d51b7 mocktikv: extract test utils (#24066) 2021-04-16 12:05:51 +08:00
03c93092b3 store/mockstore: move mock storage to standalone package (#24065) 2021-04-16 11:51:51 +08:00
6faec865c0 store/tikv:move MaxTxnTimeUse from kv to store/tikv (#23995) 2021-04-16 10:53:51 +08:00
c46cc9115a store/tikv: define KVFilter for customized mutation initialization (#24021) 2021-04-15 22:49:52 +08:00
3e58fbf4d9 store/tikv:move LockCtx from kv to tikv/kv (#24020) 2021-04-15 22:23:53 +08:00
cc05caeca2 store/tikv: clean up unused functions (#23986) 2021-04-15 20:57:54 +08:00