Commit Graph

46 Commits

Author SHA1 Message Date
e5aad0260c *: apply prefiltering before json.Unmarshal for information_schema.ddl_jobs table (#55748)
ref pingcap/tidb#55725
2024-09-10 12:03:47 +00:00
17c7b90dc6 ddl: args v2 for create/drop/modify schema (#55919)
ref pingcap/tidb#53930
2024-09-10 06:20:35 +00:00
72c1580e36 ddl: add job version 2 and use typed args for truncate table (#55854)
ref pingcap/tidb#53930
2024-09-09 10:40:59 +00:00
59040d0875 infoschema, meta: fix wrong auto id after rename table (#55847)
ref pingcap/tidb#55846
2024-09-06 00:52:13 +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
Hu#
1256bbea23 *: Refactor runaway related code (#55202)
ref pingcap/tidb#54434
2024-09-03 05:38:29 +00:00
f412743588 infoschema_v2: add test verify infoSchemaMisc field correctness (#55787) 2024-09-03 11:34:55 +08:00
d88c42c167 *: remove call of SchemaTableInfos for CheckPlacementPolicy (#55679)
ref pingcap/tidb#55394
2024-09-02 08:30:10 +00:00
74404a41ca infoschema_v2: add ut test Data struct fields' correctness (#55709)
ref pingcap/tidb#50959
2024-08-28 07:21:17 +00:00
162cb15402 infoschema: supply ut to verify special attributes' correctness (#55573) 2024-08-22 07:33:13 +00:00
f751f73077 *: use model.CIStr in infoschema v2 to handle case insensitive (#55450)
close pingcap/tidb#55421
2024-08-19 08:09:11 +00:00
29d52a7bff meta, util: skip unmarshal unneeded JSON fields (#55304)
ref pingcap/tidb#55324
2024-08-13 03:36:02 +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
247b06e46c meta,infoschema: fix a bug that after HasTemporaryTable() wrong infoschema v2 full load (#54879)
ref pingcap/tidb#50959
2024-07-29 08:32:47 +00:00
Hu#
0dff610398 resource_control: support unlimited keyword when setting the resource group (#54704)
close pingcap/tidb#54413
2024-07-26 09:17:26 +00:00
1cee7005a6 *: add table lock, foreign key to special attributes (#54672)
ref pingcap/tidb#50959
2024-07-24 10:34:34 +00:00
f00bf9a977 meta: improve CheckSpecialAttributes (#54775)
ref pingcap/tidb#50959
2024-07-22 03:30:03 +00:00
8cd82a44ad infoschema_v2: init schema cache size in meta (#54530)
ref pingcap/tidb#50959
2024-07-17 11:18:00 +00:00
de54620dc9 ddl: pessimistic lock global id, alloc id & insert ddl job in one txn (#54547)
ref pingcap/tidb#54436
2024-07-16 12:20:59 +00:00
ac92026da8 meta: fix memory leak when loading infoschema v2 (#54627)
ref pingcap/tidb#50959
2024-07-15 15:25:28 +00:00
2934442a76 *: optimize the speed of full load (#54185)
ref pingcap/tidb#50959
2024-07-15 04:20:58 +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
64a166bf18 ddl: add fast create database (#54013)
ref pingcap/tidb#50052
2024-06-27 08:31:23 +00:00
6b66e985cf *: update tikv/client-go (#53698)
close pingcap/tidb#53540
2024-06-04 04:19:25 +00:00
7629a0d685 meta: Add a GetDBMeta function to meta. (#53684)
close pingcap/tidb#53685
2024-06-04 03:22:25 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
f383e0e685 ddl: add some comments to help readability (#52825) 2024-04-24 08:33:18 +00:00
4b6e8ee030 meta,ddl: fix duplicate entry error when insert after drop and recover table (#52761)
close pingcap/tidb#52680
2024-04-22 10:13:40 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
d8298d5935 meta/autoid: make autoid client ResetConn operation concurrency-safe (#50522)
close pingcap/tidb#50519
2024-01-19 07:57:17 +00:00
6701bf1527 ddl: create table accelerate (#49687)
close pingcap/tidb#50052
2024-01-08 12:20:08 +00:00
6eea739d4c testkit,store/mockstore: make store image to accelerate unit test (#42521)
close pingcap/tidb#42434
2024-01-05 09:05:41 +00:00
f5cb034baa ddl: support fine-grained modify column and add column (#50039)
close pingcap/tidb#48519
2024-01-05 05:47:03 +00:00
a1fd1bee0b domain: support inserting ru historical data into mysql.request_unit_by_group periodically (#49873)
ref pingcap/tidb#49318
2024-01-04 12:09:33 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
918df0ae50 *: speed up create table when the number of tables is relatively large (#49371)
close pingcap/tidb#49370
2023-12-14 03:58:49 +00:00
a3e2ddb586 *: Keep the auto id allocator for single table renames (#47892)
close pingcap/tidb#46904
2023-12-08 09:45:19 +00:00
886ca7ca1c meta/autoid: change to exponental backoff and add a reset count metric (#48943)
close pingcap/tidb#48942
2023-12-06 07:31:20 +00:00
8eb191303a *: fix grpc client leak bug for AUTO_ID_CACHE=1 tables (#48870)
close pingcap/tidb#48869
2023-11-24 11:25:14 +00:00
bee28760d8 parser/executor: admin show/set bdr role (#48504)
ref pingcap/tidb#48519
2023-11-16 12:44:16 +00:00
4979e9985c *: share etcd client from domain for autoid allocator (#46647)
close pingcap/tidb#46324
2023-11-06 05:54:40 +00:00
bf8c728934 pkg/meta: add OWNERS file (#47869)
close pingcap/tidb#47849
2023-11-01 08:09:37 +00:00
cd0587eb75 *: replace mathutil.Max/Min with built-in max/min (#47939)
ref pingcap/tidb#45933
2023-10-25 11:18:33 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00