Commit Graph

236 Commits

Author SHA1 Message Date
9ff83eb378 dxf: systable and scheduler change for modify task at runtime (#57557)
ref pingcap/tidb#57497
2024-11-25 07:29:05 +00:00
1015cc0438 executor, session: store utf8 string in sessionctx (#57645)
close pingcap/tidb#57646
2024-11-25 04:44:56 +00:00
c068b397c0 executor, store: Plumb the query max execution time to timebox the PD GetRegion grpc calls (#56923)
ref pingcap/tidb#56753
2024-11-20 20:42:35 +00:00
e234164d7c *: bump client-go with some regression tests (#57282)
ref pingcap/tidb#55287, close pingcap/tidb#56837, ref pingcap/tidb#57338, close pingcap/tidb#57425
2024-11-20 12:32:23 +00:00
5450000d92 executor, session: fix ExecStmt.OriginText to use the actual original text (#57393)
close pingcap/tidb#57396
2024-11-20 04:03:26 +00:00
8382fdbeae pkg/session: add binding operations to CRUCIAL OPERATION log (#57483)
close pingcap/tidb#57482
2024-11-19 06:04:53 +00:00
xhe
239943f7a3 session, store: remove sessionBootstrapped (#57243)
ref pingcap/tidb#57242
2024-11-16 03:44:02 +00:00
ef8cac26c7 session: defer general log after query is executed to make sure txnStartTS is set (#56731)
close pingcap/tidb#57256
2024-11-15 17:52:29 +00:00
5caa238b83 planner: use collected predicate columns to do stats sync load (#56813)
close pingcap/tidb#56812
2024-11-12 14:38:50 +00:00
a4faee2ee5 store: make storage type a enum (#57276)
ref pingcap/tidb#57275
2024-11-12 04:44:58 +00:00
56e7093a9d ddl: use a global owner manager instance for DDL, to avoid owner change (#57179)
ref pingcap/tidb#57185
2024-11-11 05:12:48 +00:00
bfd7da385d ddl: enable fast create table on default (#57215)
close pingcap/tidb#57214
2024-11-08 13:19:19 +00:00
865213c94e session: make TxnInfo() return even if process info is empty (#57044)
close pingcap/tidb#57043
2024-11-05 16:04:11 +00:00
aa83e4e0d5 ddl: remove useless code related to legacy job queue (#56689)
ref pingcap/tidb#54436
2024-11-05 00:57:39 +00:00
6679c7449d ddl: mitigate the issue that multiple owner might exist during force to be owner (#56963)
close pingcap/tidb#56924
2024-10-31 16:19:55 +00:00
6085651587 tests: add test for foreign key related to prepare and Non-Transactional DML (#56366)
close pingcap/tidb#56365
2024-10-29 06:34:37 +00:00
900cd39d53 ddl: enable the ddl notifier by default (#56864)
ref pingcap/tidb#55722
2024-10-28 14:05:31 +00:00
c82ba4e083 ddl_notifier: create system table in test and escape the string literal (#56734)
ref pingcap/tidb#55722
2024-10-21 09:31:38 +00:00
43b4336aef session: upgrade from old cluster infoschema v2 should not be used (#56545)
close pingcap/tidb#56544
2024-10-21 03:51:48 +00:00
7e00e81a3f infoschema_v2: remove schemaTableInfos call of DeadTableLockChecker (#55956)
ref pingcap/tidb#55394
2024-10-13 06:44:55 +00:00
5564c872b8 session: make all DDLs reentrant in upgradeToVer212 (#56605)
close pingcap/tidb#56574
2024-10-12 16:09:57 +00:00
b72b6c2313 session: fix bootstrap panic when upgrading to master (#56517)
close pingcap/tidb#56489
2024-10-12 02:14:59 +00:00
cd33d79910 server: add hooks to wait for background commit goroutines (#55608)
close pingcap/tidb#55607
2024-09-30 09:17:35 +00:00
8f0baf4444 *: remove mock.NewContext() usage when building table meta in production code (#56348)
ref pingcap/tidb#53388
2024-09-29 13:05:25 +00:00
8bacf9cce1 session: fix wrong etcd mutex key (#56371)
close pingcap/tidb#56375
2024-09-29 06:36:10 +00:00
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +00:00
a06f6aacb5 *: force the new upgrading tidb to be owner (#51285)
close pingcap/tidb#51269
2024-09-25 20:24:15 +00:00
e5c98671a4 ddl: support scatter region in cluster/global level (#56157)
ref tikv/pd#8424, ref pingcap/tidb#54886, close pingcap/tidb#55184
2024-09-25 15:25:29 +00:00
53a3d20a3c planner, sctx: open enhanced index join pattern by default (#56172)
ref pingcap/tidb#47233
2024-09-24 16:55:45 +00:00
Hu#
19caf52fad runaway: Add processed_keys and request_ru to check (#55147)
ref pingcap/tidb#54434
2024-09-24 07:31:41 +00:00
8106d9304a planner: add a new sys table to store index advisor results and a new table to store kernel options (#56188)
ref pingcap/tidb#12303
2024-09-23 17:29:17 +00:00
312ed798f8 session: extend the length of action column to fix the truncation (#56109)
close pingcap/tidb#56106
2024-09-23 04:04:09 +00:00
5ead7e9a48 *: Remove tidb-binlog related code (#56183)
ref pingcap/tidb#55949
2024-09-20 11:13:23 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
e471433601 *: Refactor param.ExecArgs from pkg param to pkg expression. (#55784) 2024-09-13 09:21:19 +00:00
027f01b7ef br: migrate pitr id map to the system table mysql.tidb_pitr_id_map (#55871)
ref pingcap/tidb#55870
2024-09-13 07:28:59 +00:00
Hu#
bb3456b076 runaway: Mitigation tidb_runaway_queries flooding (#55664)
ref pingcap/tidb#54434
2024-09-13 03:16:18 +00:00
2c30f865e3 session: set EnableWindowFunction for all SessionVars (#55991)
close pingcap/tidb#55981
2024-09-10 17:40:54 +00:00
c90168e207 ddl, stats: switch to new struct for create/truncate table (#55811)
ref pingcap/tidb#55723
2024-09-05 12:04:04 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +00:00
c9baef45d4 pkg/parser: support SWITCH_GROUP syntax for runaway watch (#54804)
ref pingcap/tidb#54434
2024-09-04 16:59:43 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
2bd566026a planner: remove old useless unfinished index advisor implementation (#55810)
ref pingcap/tidb#12303
2024-09-04 01:44:52 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
599977b1d6 *: bump client-go to fix correctness issue of membuffer snapshot read (#55547)
close pingcap/tidb#54929
2024-08-23 08:52:43 +00:00
e30408e869 variable: mark analyze-partition-concurrency-quota as deprecated (#55409)
ref pingcap/tidb#55043
2024-08-20 02:24:12 +00:00
4764397725 ddl: restructure schema version and server state syncer (#55368)
ref pingcap/tidb#54436
2024-08-12 11:43:39 +00:00
4baaa182ed infoschema: update two tests to make them robust and a tiny fix (#55362)
ref pingcap/tidb#50959, close pingcap/tidb#55132
2024-08-12 11:43:31 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00