Commit Graph

393 Commits

Author SHA1 Message Date
2d5d2fde27 *: fix the same future wait twice in RC transaction (#15117) 2020-03-06 00:05:54 +08:00
e9ba1446f6 executor: support SELECT FOR UPDATE for BatchPointGet (#15129) 2020-03-05 19:47:16 +08:00
50d6b26899 test: stablize read lock check case (#15094) 2020-03-04 23:06:16 +08:00
d9120981fa mocktikv: change pessimistic lock return value skip op_lock in mocktikv (#15132) 2020-03-04 22:29:16 +08:00
8e10e90e31 *: add config diagnose and fix warning (#15107) 2020-03-04 16:58:46 +08:00
92438644d9 session: add test case for retrying union statement (#15051) 2020-03-04 11:17:13 +08:00
9ae471c0ee *: fix data race for plan cache (#14756) 2020-03-03 16:03:09 +08:00
b3469e7964 *: fix a bug that the pessimistic lock doesn't work on a partition (#14921)
physicalID should be used if 'select for update' works on a
partitioned table.
2020-03-03 15:06:45 +08:00
e7272e08ed session: fix mis-spell (#15070) 2020-03-02 23:52:39 +08:00
7beea97940 mocktikv: add write op_lock for mocktikv (#14991) 2020-03-02 15:53:41 +08:00
41142266b2 *: use SetString() for string instead of SetBytes() (#14989) 2020-03-02 15:48:10 +08:00
7fa56616f8 executor: refactor the tso future in RC isolation (#14966) 2020-03-02 15:38:10 +08:00
332cef97f5 *: support index encode/decode for new collation (#14876) 2020-02-27 11:33:33 +08:00
4369c22715 test: stable lock wait test (#14925) 2020-02-25 16:06:07 +08:00
a7bdb82402 *: Reduce memory operations by simply passing size hint to make (#14922) 2020-02-25 15:44:36 +08:00
b2a5a81aa9 txn: resolve left secondary lock to avoid dead loop (#14787) 2020-02-21 16:12:41 +08:00
5a00c80e4b test: fix data race in TestDisableTxnAutoRetry (#14825) 2020-02-19 21:22:33 +08:00
a528e60e3b *: add auto_random id cache for statement retrying and table recover (#14711) 2020-02-19 18:53:03 +08:00
c7cda1a0c9 session: fix unexpect '0' written to new_collation_enabled value. (#14842) 2020-02-19 17:03:46 +08:00
344c48d3b4 *: change field name 'password' to 'authentication_string' in mysql.user (#14598) 2020-02-19 11:58:42 +08:00
713099c1ad *: add a configuration entry to control if new collations are enabled (#14734)
Configuration entry `new_collations_enabled_on_first_bootstrap` is
added, which determines if the new collations can be enabled when a
TiDB cluster is initialized for the first time.
2020-02-17 15:56:24 +08:00
1aa0a7d6b3 session: make unit test TestDeadlock more stable (#14805) 2020-02-15 23:02:53 +08:00
9543a0f4a6 *: re-implement partition pruning for better performance (#14679) 2020-02-14 19:18:49 +08:00
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