Commit Graph

189 Commits

Author SHA1 Message Date
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
Hu#
d6dda3d3b7 runaway: add runaway tidb-side time checker (#54987)
close pingcap/tidb#51325
2024-08-12 04:03:01 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
2c9a45c7ba test: fix data conflict in TestCursorWillBlockMinStartTS (#55326)
close pingcap/tidb#55227
2024-08-09 09:54:56 +00:00
3357f265c3 test: port unit test from #55286 to master (#55293)
close pingcap/tidb#55250
2024-08-08 08:59:18 +00:00
9fee330077 store/copr: partly revert pr/35975, do it correctly this time (#55196)
close pingcap/tidb#54969
2024-08-06 05:39:38 +00:00
d383367ead planner: add new variables for instance plan cache (#55193)
ref pingcap/tidb#54057
2024-08-06 02:51:39 +00:00
5aad7df941 *: use a unified session pool definition AMAP (#55170)
ref pingcap/tidb#54434
2024-08-05 12:23:08 +00:00
52303d45cc ddl: replace OnJobRunAfter callback with failpoint (#55120)
ref pingcap/tidb#54436
2024-08-02 11:47:12 +00:00
8b787f7aa5 planner: use code-gen to generate CloneForPlanCache method for IndexJoin/IndexHashJoin (#55157)
ref pingcap/tidb#54057
2024-08-02 09:35:52 +00:00
da7ed5cdc9 ddl: remove unused code related to prev fast create impl (#55116)
ref pingcap/tidb#54436
2024-08-01 08:13:21 +00:00
41bb8f57c7 ddl: integrate fast create table into normal general DDL workflow (#55025)
ref pingcap/tidb#54436
2024-07-31 15:59:50 +00:00
108e98ae8f ddl: init global vars from system tables before start domain (#54913)
close pingcap/tidb#54860, close pingcap/tidb#54868
2024-07-29 07:37:17 +00:00
b41ad703ad *: refine pipelined dml benchmarks (#54844)
ref pingcap/tidb#50215
2024-07-25 13:45:06 +00:00
ee6434798f planner: remove useless check (#54907)
ref pingcap/tidb#54883
2024-07-25 09:54:21 +00:00
9897ddda17 ddl: remove interceptor and replace some hook with failpoint (#54882)
ref pingcap/tidb#54436
2024-07-25 04:18:05 +00:00
6854e60698 session, config, sessionctx, executor: Set tidb_opt_projection_push_down to false when tidb upgrades from versions older than 8.3.0 to 8.3.0 and later (#54861)
ref pingcap/tidb#51876
2024-07-25 01:54:05 +00:00
8f98b4eba3 ddl: decouple executor part out from ddl (#54858)
ref pingcap/tidb#54436
2024-07-24 13:45:05 +00:00
a7865a68a5 session: bind extensions to bootstrap session (#54670)
close pingcap/tidb#54671
2024-07-22 17:45:03 +00:00
60cc666072 session: add summary field to tidb_background_subtask_history (#54787)
close pingcap/tidb#54241
2024-07-22 06:57:10 +00:00
13e428061a context, executor: add a function to detach the TableReaderExecutor (#54456)
close pingcap/tidb#53336
2024-07-19 09:43:31 +00:00
afd6d6a33a server: add protocol support for lazy cursor fetch (#54527)
close pingcap/tidb#54526
2024-07-18 10:22:32 +00:00
8cd82a44ad infoschema_v2: init schema cache size in meta (#54530)
ref pingcap/tidb#50959
2024-07-17 11:18:00 +00:00
ac786cb1a3 server: refine the connection counter logic (#54546)
close pingcap/tidb#54428, close pingcap/tidb#54545
2024-07-15 05:11:58 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
f158c65446 table: provide some binlog related methods for binlog in MutateContext (#54433)
ref pingcap/tidb#54392, ref pingcap/tidb#54397
2024-07-10 05:43:33 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
d8098b9708 test: stabilize TestUpgradeWithPauseDDL (#54504)
close pingcap/tidb#54452
2024-07-09 07:43:40 +00:00
8c1ce99065 ddl: schedule as many jobs as possible in one round, simplify sql to query jobs (#54438)
ref pingcap/tidb#54436
2024-07-09 04:39:02 +00:00
cb237b6c8b *: optimize error generation, debug log and AllocHandle in the hot write path (#54308)
ref pingcap/tidb#54444
2024-07-05 07:46:28 +00:00
3a384e6066 planner: refactor a few code of plan cache (#54442)
ref pingcap/tidb#54057
2024-07-04 14:22:28 +00:00
ef53d61c10 planner: refactor a few code of plan cache (#54404)
ref pingcap/tidb#54057
2024-07-03 11:31:27 +00:00
91a165b841 executor: optimize ResetContextOfStmt (#54063)
ref pingcap/tidb#54047
2024-07-03 03:49:27 +00:00
482ccd6b6d planner: refactor a few code of plan cache (#54362)
ref pingcap/tidb#54057
2024-07-01 15:29:56 +00:00
585c631742 session, infosync: add a cursor tracker to the session to keep tracking all needed information of the cursor. (#54114)
close pingcap/tidb#54113
2024-07-01 10:22:35 +00:00
64a166bf18 ddl: add fast create database (#54013)
ref pingcap/tidb#50052
2024-06-27 08:31:23 +00:00
761b5926a7 session: reserve bootstrap versions for v8.1.x (#54266)
ref pingcap/tidb#53440, close pingcap/tidb#54267
2024-06-27 05:02:52 +00:00
432bb79f97 *: remove some usages of SchemaTables (#54199)
ref pingcap/tidb#50959
2024-06-26 12:01:24 +00:00
d1854a74e2 planner: add InstacnePlanCache to Domain (#54231)
ref pingcap/tidb#54057
2024-06-26 10:28:29 +00:00
e036274a23 executor, session: Add Detach() method to detach the record set (#54091)
close pingcap/tidb#54090
2024-06-24 08:49:21 +00:00
6fe4f9e470 variable: add system variable 'tidb_resource_control_strict_mode' (#54033)
ref pingcap/tidb#53440
2024-06-20 04:43:17 +00:00
d0e775dab0 planner: rename session plan cache interface (#54102)
ref pingcap/tidb#54057
2024-06-19 07:34:17 +00:00
dfa6b7cfeb txn: do not create hook closure if it is already set (#53764)
close pingcap/tidb#53763
2024-06-18 12:40:17 +00:00
9906339471 planner: fix the issue that statement-level hints in sub-queries of Insert/Replace can not take effect (#54083)
close pingcap/tidb#53834
2024-06-18 11:02:47 +00:00
00eafc0933 planner: refactor a few code of plan cache (#54075)
ref pingcap/tidb#54057
2024-06-18 07:22:23 +00:00
1870d5f098 ddl: manage job lifecycle in worker (#53747)
ref pingcap/tidb#53246
2024-06-07 07:56:58 +00:00
d1b8c5b4f1 ddl: refine fatal log when upgrade failed because of tidb_enable_dist_task (#53392) 2024-05-22 02:23:45 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00