Commit Graph

122 Commits

Author SHA1 Message Date
63f6b4859b txn: remove TxnContextProvider.SetTxnInfoSchema (#45207)
close pingcap/tidb#44361
2023-07-06 10:05:17 +00:00
9151f91771 txn: delete useless SetTxnInfoSchema in TxnManager (#44362)
close pingcap/tidb#44361
2023-06-02 08:10:44 +00:00
4c83352678 *: Introduce runaway statement in resource group (#43843)
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
e3776f3abb sessiontxn/staleread: more accurate stale ts (#44272)
close pingcap/tidb#44215
2023-05-30 09:38:41 +00:00
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
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
dc3f1e36ea planner: recalculate as-of ts of staleread when plan is cached (#43204)
close pingcap/tidb#43044
2023-04-20 20:57:20 +08: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
dcab1309ed planner: plan cache to support short insert statements (#42528)
ref pingcap/tidb#36598
2023-03-24 11:38:42 +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
9e275181be txn: Slow txn log (#41864)
close pingcap/tidb#41863
2023-03-06 11:47:11 +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
79ae1e3c1f *: update bazel config (#41296) 2023-02-13 14:38:01 +08:00
0db6df713b planner: recover table/schema only needs create and drop privilege (#41226)
close pingcap/tidb#40633
2023-02-10 22:38:00 +08:00
6e0c38a976 *: remove limit (#41242)
* *: remove limit

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>

* *: remove limit

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>

* *: remove limit

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>

---------

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2023-02-09 22:59:49 +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
a9d8bfe6ae session: fix data race in the LazyTxn.LockKeys (#40350)
close pingcap/tidb#40355
2023-01-07 00:00:21 +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
9e8a21c460 planner: check the ignore-plan-cache hint in insert-stmt (#40080)
ref pingcap/tidb#39717, close pingcap/tidb#40079
2022-12-21 20:40:55 +08:00
223a9128b0 staleread, session: internal write request should be accepted with external ts (#39967)
close pingcap/tidb#39966
2022-12-17 13:48:52 +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
ee5d8cca17 staleread: fix flaky test TestStaleReadProcessorWithExecutePreparedStmt (#39805)
close pingcap/tidb#39804
2022-12-12 11:10:51 +08:00
7134b7b6f0 test: fix unstable test TestStaleReadProcessorWithSelectTable (#37858)
close pingcap/tidb#37228
2022-12-08 14:20:04 +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
ba6ae458f8 *: add variables and support external timestamp read (#38276)
close pingcap/tidb#38274
2022-11-01 17:40:00 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +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
181fb8e905 br: merge feature branch of ebs-based-br (#37297)
ref pingcap/tidb#35306
2022-09-18 20:37: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
13ac510474 *: change flashback grammar to flashback cluster to timestamp (#37815) 2022-09-14 19:12:58 +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
55e86e0037 util: use channel.Clear to empty channel (#37643) 2022-09-06 19:28:55 +08:00
70684d39de *: enable mock session manager and schemaLease for all unit tests (#37623) 2022-09-06 14:04:55 +08:00
7bdb7b5705 planner: refactor some code path of execution-stmt (#37455)
ref pingcap/tidb#36598
2022-08-31 10:48:23 +08:00