Commit Graph

357 Commits

Author SHA1 Message Date
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
e29873c0a0 session: add auto_increment_offset to global variables' loading list. (#14388) 2020-01-08 15:39:09 +08:00
b398ef4d2e session: print txn_mode in the general log (#12244) 2020-01-06 21:31:39 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
0d76bdb04a *: fix schema change validation for partitioned table when transaction commit (#14235) 2020-01-01 19:17:09 +08:00
a7ff591368 session, executor: add memTracker for DeleteExec (#14289) 2019-12-31 22:06:20 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
1881d95a9f metrics: cleanup useless metrics (#14260) 2019-12-30 15:28:39 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
e5d5a61e13 session: use failpoint to reduce the performance impacts of test code (#14276) 2019-12-29 14:22:42 +08:00
57ecfb9b46 *: implement the diagnostics inspection framework (#14114)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-25 15:58:58 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
9e63120472 session,domain,owner: test the session package with tikv (#14149) 2019-12-24 10:40:09 +08:00
f9cdebdd25 privilege: fix privilege problem after upgrade (#14177) 2019-12-23 13:36:46 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
dc80933185 *:fix typo boostrap (#14174)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-12-23 10:52:18 +08:00
c7c7b730e4 set global variable tidb_txn_mode to pessimistic during bootstrap. (#14154) 2019-12-21 00:46:46 +08:00
db2a87132f *: fix condition check push down for pessimistic transaction (#14141) 2019-12-20 19:29:16 +08:00
fcc5dba8a7 infoschema: add 3 fields to statement summary table (#14096) 2019-12-19 21:42:39 +08:00
a61e3cc324 session: move the failpoint test to testSessionSerialSuite (#14089) 2019-12-17 12:30:16 +08:00
881038ee1b session: support 'GLOBAL SCOPE' for tidb_enable_table_partition (#14062) 2019-12-17 10:10:25 +08:00
d666ed4137 *: fix the wrong check for key-need-lock of pessimistic transaction (#14057) 2019-12-15 18:04:37 +08:00
3ee6bc8a21 ddl: fix the bug that VIEWs can be dropped by DROP TABLE syntax (#14048) 2019-12-13 17:07:43 +08:00
9009da7378 *: lock unchanged rows for pessimistic transaction (#14045) 2019-12-13 12:00:28 +08:00
5cac105ba1 session: do not print the annoying 'no such host' error log when authorization fails (#13989) 2019-12-12 20:59:44 +08:00
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