Commit Graph

370 Commits

Author SHA1 Message Date
ef5fffb0c9 session: make unit test TestOptimisticConflicts more stable (#14746) 2020-02-14 14:55:18 +08:00
2f926df501 executor: add diagnosis rule to detect cluster critical errors (#14743) 2020-02-13 19:34:04 +08:00
62e48ca046 test: optimize session tikv test (#14709) 2020-02-12 18:07:18 +08:00
7ecb7e6f48 infoschema: add metrics_summary_by_label table to query all detail metrics (#14663) 2020-02-11 14:08:11 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
97a049a2be *: make Backoff perceive the Killed flag to fix MAX_EXECUTION_TIME (#14552) 2020-02-03 12:31:56 +08:00
e4eb58c86d executor: grant table level privilege should check table exist (#14540) 2020-01-30 11:57:23 +08:00
63b71a3433 session: fix incorrect OPS on unretryable session error (#14557) 2020-01-21 09:38:32 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
fd721e9004 session: fix race condition for prepare stmt in shutdown or kill (#14406) 2020-01-14 19:31:51 +08:00
562a448b7d session,executor: fix transaction lazy initialization in pessimistic mode (#14446) 2020-01-14 16:48:05 +08:00
2c256badc5 *: fix ManagedLockTTL race in test (#14407) 2020-01-10 13:44:40 +08:00
4ed347cff8 planner,session: add Reload and File privilege, check Reload for the flush statement (#14319) 2020-01-09 19:59:12 +08:00
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