Commit Graph

307 Commits

Author SHA1 Message Date
39a6f7f4cc *: make transaction duration metrics more reasonable (#13444) 2019-11-15 19:17:36 +08:00
2aa571b1ab test: make several slow package unit test support run parallel (#13431) 2019-11-14 12:47:42 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
58733475da *: support capture evolve plan tasks (#13199) 2019-11-13 16:22:48 +08:00
657b5236b8 session: make TestInnodbLockWaitTimeout faster and remove useless testcase (#13383) 2019-11-13 13:37:36 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
3f9f6a2780 session,store: make TestAsyncRollBackNoWait run faster to boost CI (#13377) 2019-11-12 12:41:49 +08:00
3712664d43 session,store/tikv: make CI more stable (#13303)
make TestBatchResolveLocks more stable
make TestErrorRollback faster
2019-11-09 17:09:19 +08:00
b7eddbf0f2 session: fix upgrade logic when bootstrap (#12827) 2019-11-09 11:08:43 +08:00
60d4291c5d store: upgrade the CheckTxnStatus API (#13123)
CheckTxnStatus introduces a non-block read mode. In this mode, TiDB can ignore
the secondary lock TTL check and send the CheckTxnStatus request.
2019-11-07 19:09:13 +08:00
e43444265b *: Support required rows rows for arrow decode format. (#12613) 2019-11-05 18:12:09 +08:00
5fd8b4d251 executor: support innodb_lock_wait_timeout for pessimistic transaction (#13103) 2019-11-05 17:26:40 +08:00
f12403ef08 executor: support select for update no wait (#12775) 2019-11-04 17:01:40 +08:00
000c1ba5db planner, session: add isolation read with engine type (#12997) 2019-11-01 15:47:12 +08:00
e8294ad636 executor: try to cache executor for prepared point select (#12855) 2019-10-30 10:23:18 +08:00
ee4f1f9c1e store: stop updating pessimistic transaction's lock TTL when the session is killed (#12959) 2019-10-29 17:45:21 +08:00
4907685ed2 *: fix bug that the kill command doesn't work when the killed session is waiting for the pessimistic lock (#12852) 2019-10-24 17:26:12 +08:00
d6270085f4 executor: fix data race in test (#12910) 2019-10-23 23:41:29 +08:00
77a5526f59 session: speed up test by reduce pre-write back-off time (#12863) 2019-10-22 15:15:43 +08:00
5bf03c8df4 executor: add SHUTDOWN command and privilege check (#12804) 2019-10-21 21:49:56 +08:00
740b7769b0 *: support automatically create sql baselines (#12434) 2019-10-17 14:16:48 +08:00
20823fbe18 *: add a system variable to control the usage of baselines (#12624) 2019-10-14 21:09:03 +08:00
fbf0d90c06 executor: error processing refactor for load data (#12465) 2019-10-11 13:01:32 +08:00
253cd1f8ab session: remove the mockFail field from txnFuture (#12545)
Signed-off-by: Lonng <heng@lonng.org>
2019-10-08 23:30:47 +08:00
ea6d00be04 *: add a new way to calculate TPS (#12411) 2019-09-30 18:25:37 +08:00
5b3df63ced executor: case refactor for point execution (#12486) 2019-09-30 16:10:08 +08:00
1a9fcb9c20 *: replace cost model factor constants with system variable (#12367) 2019-09-30 14:24:07 +08:00
41ac571d7b *: remove the LightningMode from TiDB (#12466) 2019-09-29 15:12:01 +08:00
d5094bc304 session: remove unused global variable (#12460)
Signed-off-by: Lonng <heng@lonng.org>
2019-09-29 11:11:02 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
ba9d1ca960 *: adjust delta schema count and add metrics (#11625) 2019-09-27 20:33:18 +08:00
a582640dc3 executor: make point updates go short path (#12243) 2019-09-27 18:36:01 +08:00
74eaf327e9 *: log each com_stmt_fetch separately (#11987) 2019-09-25 17:57:16 +08:00
fef1eac084 store/tikv: implement a ttlManager to update the TTL of a transaction (#12177) 2019-09-25 16:33:42 +08:00
06629d6ac4 *: check privilege when reusing the cached plan (#12211) 2019-09-23 20:36:45 +08:00
582076b5cc *: wrap the previous statement for performance (#12283) 2019-09-23 15:09:15 +08:00
d629051370 session: do not lock untouched unique key in pessimistic mode (#12256) 2019-09-18 17:02:15 +08:00
15011b6c49 executor: new execution path for point execution within prepared plan cache (#11970) 2019-09-17 14:14:45 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
04292a00de session: annotate the previous statement to the error when transaction commit failed (#12087) 2019-09-16 15:15:07 +08:00
0f55274760 infoschema, session: support for events_statements_summary_by_digest (#12017) 2019-09-12 19:53:16 +08:00
fb683bef2c executor: refactor union scan and dirty table (#11702) 2019-09-12 10:00:45 +08:00
c2901fea45 meta/autoid : fix the issue that MaxUint64 and MaxInt64 autoID is incorrectly allocated (#12119) 2019-09-11 08:07:39 -05:00
57da569736 store/tikv,session: invalidate snapshot cache under pessimistic transaction (#12147) 2019-09-11 20:14:15 +08:00
46cb64a257 server: reset current start ts in processlist when transaction committed (#12070) 2019-09-10 20:27:44 +08:00
2307338ae7 planner: generate index path as candidate when it is a single scan (#12022) 2019-09-09 19:13:41 +08:00
1ef81a8620 *: replace word error in warning, info, debug logs (#12050) 2019-09-09 18:51:12 +08:00
0fbd21c085 *: replace pessimistic default config option with global variable (#12041) 2019-09-05 18:32:58 +08:00
dffe29355a *: not send tso request when point get with max tso (#11981) 2019-09-03 23:11:49 +08:00
994e14e2e7 *: record previous statement when commit is slow (#11908) 2019-09-03 21:39:35 +08:00