Commit Graph

71 Commits

Author SHA1 Message Date
6f83874c03 *: ignore some ttlworker in the goleak (#43857)
close pingcap/tidb#43855
2023-05-16 05:47:17 +00:00
06220cbcd7 txn: introduce the statement buffer of pessimistic lock cache (#43530)
close pingcap/tidb#43294
2023-05-11 08:35:21 +00:00
5109e41617 *: fix data race in the baseTxnContextProvider.ActivateTxn (#42960)
close pingcap/tidb#42092
2023-04-12 10:37:01 +08:00
e942ab6148 kazel: support auto-config shard_count (#42751)
close pingcap/tidb#42827
2023-04-06 15:46:58 +08:00
2e8a982cb0 session, com_stmt: fetch all rows during EXECUTE command (#42473)
close pingcap/tidb#41891, close pingcap/tidb#42424
2023-03-23 17:34:43 +08:00
e927cade5c txn: disable rc read check ts for cursor read mode (#42185)
close pingcap/tidb#42184
2023-03-14 17:44:48 +08:00
cc54d1bba1 txn, session: Rename Aggressive Locking to Fair Locking and enable by default for new clusters (#42108)
ref pingcap/tidb#42107, close pingcap/tidb#42147
2023-03-14 15:54:39 +08:00
723526708d metrics: attach const label keyspace_id (#41693)
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
ac6a9ebf6d copr: support load_based_replica_read_threshold (#40742)
close pingcap/tidb#41664
2023-03-03 23:03:11 +08:00
54a23ef986 adapter, txn: Move aggressive locking controlling logic to handlePessimisticXXX functions to avoid some potential misuses (#41726)
close pingcap/tidb#41724
2023-02-28 16:45:08 +08:00
e0620da22f statistics: improve test to make test more fast (#41403)
ref pingcap/tidb#41377
2023-02-14 21:10:01 +08:00
09d3fa9d88 txn: Fix the issue that analyze panics when aggressive locking is enabled globally (#41196)
close pingcap/tidb#41194
2023-02-09 10:19:59 +08:00
861773872b *: update bazel config (#41127)
close pingcap/tidb#41160
2023-02-08 09:49:58 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
b268c65710 *: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set (#40197)
close pingcap/tidb#40194
2022-12-28 16:00:17 +08:00
1e7c6ddbe6 SlowLog: Update Wait_TS field in slow log for every sql (#39843)
close pingcap/tidb#39713
2022-12-14 00:08:52 +08:00
15b523cb07 *: add a memdb memory tracker (#39372)
ref pingcap/tidb#35203
2022-11-25 19:03:59 +08:00
490e4c4d60 session, sessionctx: enable metadata lock by default (#38866)
close pingcap/tidb#37275, ref pingcap/tidb#38890
2022-11-07 09:37:50 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
dc223253f0 Isolation: Refactor resetting RCReadCheckTS internal flag (#38174)
ref pingcap/tidb#37226
2022-10-17 23:33:53 +08:00
4adfaf1ec0 *: enable race for some part (#38288) 2022-10-08 12:03:49 +08:00
5ac83ce6d1 metrics: Add a metric to diagnose the write-conflict severity caused by RCCheckTS isolaion (#38216)
ref pingcap/tidb#37226
2022-09-28 22:19:47 +08:00
05f808f68e *: fix data race for txnCtx (#38041)
close pingcap/tidb#38000
2022-09-22 16:21:04 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
f61024b2dc variables: change tidb_rc_read_check_ts to instance level (#37803)
close pingcap/tidb#37802
2022-09-16 18:28:59 +08:00
100b65819b Optimize: TiDB skip getting tso from PD at RC isolation for some special scenes (#36823)
close pingcap/tidb#36812
2022-09-13 16:40:58 +08:00
a8f524b31b *: rename TemporaryTableAttachedInfoSchema (#37408) 2022-08-26 18:06:21 +08:00
9af0f03506 *: only create snapshot interceptor for temporary table when needed (#37225)
close pingcap/tidb#37223
2022-08-22 12:28:53 +08:00
44f684ec77 *: only create TemporaryTableAttachedInfoSchema if needed (#37196)
close pingcap/tidb#37195
2022-08-18 18:34:51 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
b150be8200 *: optimize temptable.SessionSnapshotInterceptor (#36999)
close pingcap/tidb#37000
2022-08-10 19:54:48 +08:00
de18571b31 txn: Forbid alloc space every time for OptimisticTxnContextProvider (#36988)
close pingcap/tidb#36986
2022-08-09 18:42:48 +08:00
94c118b614 txn: optimize point get with tso MaxUint64 path in txn provider (#36949)
close pingcap/tidb#36951
2022-08-08 17:12:48 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +08:00
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
b377810979 session: Mising OptimizeWithPlanAndThenWarmUp in prepare-execute path (#36347)
close pingcap/tidb#36311
2022-07-21 22:01:11 +08:00
850c869435 sessiontxn/isolation: fix goleak for TestPessimisticRCTxnContextProviderRCCheckForPrepareExecute (#36242)
close pingcap/tidb#36212
2022-07-15 18:25:05 +08:00
fa00fc5cd5 *: set fine grain timeout and update bazel config (#36220) 2022-07-15 11:11:05 +08:00
987bdd3014 *: Always rollback after tests in isolation to make tests stable (#36219)
close pingcap/tidb#36212
2022-07-14 19:59:06 +08:00
6af1f4f1c9 isolation: support flaky test (#36213)
ref pingcap/tidb#36212
2022-07-14 18:03:06 +08:00
f581ec3a45 test: remove meaningless test and update bazel (#36136) 2022-07-13 16:41:05 +08:00
ffc17f745b txn: move some methods in session_txn to internal pacakge (#36034)
close pingcap/tidb#36033
2022-07-13 13:13:05 +08:00
9daa9abf8c *: fix unstable test in sessiontxn (#36072)
close pingcap/tidb#36071
2022-07-11 13:15:05 +08:00
f3eb0f5c26 txn: remove NewTxn and NewStaleTxnWithStartTS in session (#35885)
close pingcap/tidb#35884
2022-07-07 19:27:02 +08:00