Commit Graph

177 Commits

Author SHA1 Message Date
865213c94e session: make TxnInfo() return even if process info is empty (#57044)
close pingcap/tidb#57043
2024-11-05 16:04:11 +00:00
71238b11a6 ddl: skip adding index reorg work for empty tables (#56406)
close pingcap/tidb#51421, close pingcap/tidb#54230
2024-10-25 11:39:25 +00:00
b759f3306c server: replace session in statsHistoryHandler with types.Context (#56783)
close pingcap/tidb#56782
2024-10-23 11:02:14 +00:00
ba5823bb1c *: move ddl notifier as domain member and test pub/sub (#56776)
ref pingcap/tidb#55722
2024-10-23 04:01:33 +00:00
f37210f6ba executor: fix plan replay cannot deal with placement mode (#56774)
close pingcap/tidb#54961
2024-10-22 10:33:30 +00:00
827b533856 server: fix flaky test by using t.TempDir (#56737)
close pingcap/tidb#56735
2024-10-21 16:50:23 +00:00
53a4c3eded planner: play replay load restore the table with foreign key with right order. (#56457)
close pingcap/tidb#56456
2024-10-16 08:21:53 +00:00
7e00e81a3f infoschema_v2: remove schemaTableInfos call of DeadTableLockChecker (#55956)
ref pingcap/tidb#55394
2024-10-13 06:44:55 +00:00
1eb0c8c123 domain: fix play replay dump cannot save the table in the foreign key's reference (#56512)
close pingcap/tidb#56458
2024-10-09 13:38:43 +00:00
c43d0589be *: replace exportloopref with copyloopvar (#56503)
close pingcap/tidb#56509
2024-10-09 12:12:43 +00:00
8c4bab1963 *: upgrade go1.23.2 (#51126)
close pingcap/tidb#50765
2024-10-09 05:15:46 +00:00
74034d4ac2 pkg/server: using the correct errors import package (#56423) 2024-09-30 12:09:15 +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
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +00:00
d7f9027af2 planner: move logical datasource, table-scan, index-scan, tikv-gather to logicalop pkg (#56291)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-09-26 12:13:00 +00:00
7b6209df99 meta: introduce metabuild.Context to build meta (#56176)
close pingcap/tidb#56175
2024-09-26 00:21:37 +00:00
84016f9f9a planner: support to prune column for simple table's DELETE (#56077)
ref pingcap/tidb#38911
2024-09-25 19:48:28 +00:00
f988947aad server,metrics: add a metrics for internal session count (#56272)
ref pingcap/tidb#56271
2024-09-25 16:10:59 +00:00
2ef0a36f71 *: Removed tidb_enable_list_partition (#42846)
close pingcap/tidb#42842
2024-09-25 00:24:19 +00:00
adbc0034ff tests: reduce some flaky timeout tests (#56171)
ref pingcap/tidb#41316
2024-09-20 05:02:17 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
beee242769 planner: Covering tests for plan cache and partitioned tables. (#52168)
ref pingcap/tidb#33031
2024-09-19 17:25:45 +00:00
e471433601 *: Refactor param.ExecArgs from pkg param to pkg expression. (#55784) 2024-09-13 09:21:19 +00:00
2a86d34c72 *: fix affected rows metrics to make it compatiable with multi-queries (#55877)
close pingcap/tidb#55875
2024-09-10 02:47:39 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +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
Hu#
1256bbea23 *: Refactor runaway related code (#55202)
ref pingcap/tidb#54434
2024-09-03 05:38:29 +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
47ca7bec6b infoschema: use ListTablesWithSpecialAttribute instead of SchemaTableInfos (#55686)
* infoschema: use `ListTablesWithSpecialAttribute` instead of `SchemaTableInfos`

* revert

* refactor
2024-08-29 11:28:32 +08:00
f2856e3521 ddl: limit the count of getting ddlhistory jobs (#55590)
close pingcap/tidb#55711
2024-08-28 13:15:17 +00:00
d2b20bd898 planner: remove unnecessary pointer receiver function of datasource. (#55556)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-22 08:28:43 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
c1c74b1bd9 server: wait for auto commit queries before shutdown (#55494)
close pingcap/tidb#55464
2024-08-20 08:07:48 +00:00
02526988cb *: upgrade linter revive (#55346) 2024-08-16 07:58:11 +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
fd3ad810ae *: support to query init stats percentage from http api (#55323)
close pingcap/tidb#53564
2024-08-09 08:36:49 +00:00
dfa7ea6de0 *: replace ddl callback injection with failpoint (#55215)
ref pingcap/tidb#54436
2024-08-07 08:44:17 +00:00
d940b7ddc2 *: init ctx for extractWorker (#55228)
close pingcap/tidb#55217
2024-08-06 14:48:40 +00:00
a1606cfd22 metrics: add per-query-statement RPC count and scan processed key count metrics (#54890)
close pingcap/tidb#54887
2024-08-06 01:14:08 +00:00
5c2dde89a3 executor, expression: detach projection and selection operator (#54864)
close pingcap/tidb#54863
2024-08-01 07:04:21 +00:00
68b529ebf5 ddl: replace OnJobUpdated callback with failpoint (#55091)
ref pingcap/tidb#54436
2024-08-01 04:34:26 +00:00
273ca667ab *: remove limiting process id for auto analyze (#54902)
ref pingcap/tidb#53460
2024-07-29 16:01:18 +00:00
6c3e25ebfe *: avoid using Tables field of model.DBInfo, use API instead (#52302)
close pingcap/tidb#52234
2024-07-25 10:57:06 +00:00
8f98b4eba3 ddl: decouple executor part out from ddl (#54858)
ref pingcap/tidb#54436
2024-07-24 13:45:05 +00:00
7ebd781493 infoschema,server: let SchemaSimpleTableInfos return error instead of panic (#54866)
close pingcap/tidb#54508
2024-07-24 12:58:35 +00:00
a18b3c54e9 *: remove infoschema.SchemaTables() API, replace it with SchemaTableInfos() (#54664)
ref pingcap/tidb#50959
2024-07-23 11:42:04 +00:00
419139e801 tests: add tests for concurrent cursor fetch (#54806)
close pingcap/tidb#54801
2024-07-23 08:45:11 +00:00