573b55eaf3
executor: tiny refactor, add sleep and cleanup for test case ( #13991 )
2019-12-09 17:25:43 +08:00
d439a57566
infoschema, util: add table events_statements_summary_by_digest_history ( #13813 )
2019-12-09 16:11:49 +08:00
94481e883d
session: if txn invalid do not active it and return an error ( #13935 )
2019-12-09 13:41:09 +08:00
01a7d00053
executor: change pessimistic lock wait start for one statement ( #13922 )
2019-12-06 15:17:49 +08:00
448af254ec
fix race of TestSkipWithGrant ( #13923 )
2019-12-05 16:10:07 +08:00
0730eeca03
*: fix snapshot problem in show table status ( #13797 )
2019-12-05 13:26:26 +08:00
5c4a9ee101
*: do not start slow-log timer before parsing ( #13846 )
2019-12-04 15:58:40 +08:00
b45e8b1f9b
session: move test and make it stable ( #13885 )
2019-12-04 15:50:09 +08:00
5b6422df58
*: support read remote TiDB memory table of cluster ( #13065 )
2019-12-04 13:05:36 +08:00
826e1d712b
*: cleanup error code ( #13874 )
2019-12-03 20:29:09 +08:00
093b27aea8
session: fix show variable result of tidb_enable_window_function after upgrade ( #13866 )
2019-12-03 15:54:39 +08:00
5a589c9994
planner: consider disk cost in hashJoin ( #13246 )
2019-12-03 13:43:19 +08:00
5fb669b68b
session: fix CI data race in TestSchemaCheckerSQL ( #13859 )
2019-12-03 13:09:25 +08:00
d587c63062
*: some tiny improvements for the large transaction ( #13815 )
...
1. Set the default txn size limit to 1G
2. Reduce memory footprint during insert for the large txn
3. Recycle the session buffer memory to avoid leak
4. Set rate limit to avoid 2PC prewrite overloads the TiKV
5. Start ttlManager for the large txn
2019-12-03 00:40:40 +08:00
4b5ae3a34c
session: refactor code to remove useless filed and return ( #13841 )
2019-12-01 23:01:53 -06:00
18fbe2d483
infoschema, util: refresh statement summary table periodically ( #13680 )
2019-11-28 15:39:22 +08:00
755fd1924b
ddl: fix index length calculation ( #13727 )
2019-11-27 19:51:17 +08:00
2082b68a41
test: optimize session&planner/core unit test ( #13580 )
2019-11-27 17:25:55 +08:00
596fb64233
planner: support a hint to force using a IndexMerge path ( #12843 )
2019-11-27 15:44:25 +08:00
3a48a48630
*: remove the assertion proto ( #13732 )
...
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
518692c14c
bindinfo: support evolve plan ( #13465 )
2019-11-22 17:09:37 +08:00
8535b90104
session: add more information for retry error ( #13525 )
2019-11-19 15:52:25 +08:00
163132a5ca
*: update the forUpdateTS for insert/replace into select statements ( #13561 )
2019-11-19 14:54:23 +08:00
359a667d42
store: implement non-block read when coprocessor meets the lock of a large transaction ( #11986 )
2019-11-19 13:20:00 +08:00
ebed3d606c
executor: pessimistic txn update forUpdateTS for concurrent insert ( #13553 )
2019-11-19 10:51:53 +08:00
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