Commit Graph

30 Commits

Author SHA1 Message Date
2ea3542218 ddl, stat: switch to new struct for remove partition, flash back and remove DDLEvent (#55973)
ref pingcap/tidb#55723
2024-09-11 05:43:58 +00:00
ea6dba8e7a ddl, stat: switch to new struct for exchange/reorg/add partition (#55944)
ref pingcap/tidb#55723
2024-09-10 04:24:42 +00:00
de0dcc0860 ddl, stat: switch to new struct for drop table, add/modify column (#55912)
ref pingcap/tidb#55723
2024-09-09 10:41:08 +00:00
4dc8f3d333 ddl, stat: switch to new struct for add/truncate/drop partition (#55893)
ref pingcap/tidb#55723
2024-09-06 10:22:23 +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
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
b664234927 ddl: init new struct SchemaChangeEvent to replace the DDLEvent (#55758)
ref pingcap/tidb#55723
2024-08-30 12:22:58 +00:00
4764397725 ddl: restructure schema version and server state syncer (#55368)
ref pingcap/tidb#54436
2024-08-12 11:43:39 +00:00
dfa7ea6de0 *: replace ddl callback injection with failpoint (#55215)
ref pingcap/tidb#54436
2024-08-07 08:44:17 +00:00
52303d45cc ddl: replace OnJobRunAfter callback with failpoint (#55120)
ref pingcap/tidb#54436
2024-08-02 11:47:12 +00:00
68b529ebf5 ddl: replace OnJobUpdated callback with failpoint (#55091)
ref pingcap/tidb#54436
2024-08-01 04:34:26 +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
9897ddda17 ddl: remove interceptor and replace some hook with failpoint (#54882)
ref pingcap/tidb#54436
2024-07-25 04:18:05 +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
be16d49048 ddl: consider paused job when check runnable (#54419)
ref pingcap/tidb#53246, close pingcap/tidb#54383
2024-07-04 05:19:28 +00:00
eaa603231f *: improve ErrKeyExists generation and MemoizeStr (#54412)
ref pingcap/tidb#53004
2024-07-04 03:46:28 +00:00
26d1096580 ddl: check table/database existance using infoschema only (#53882)
ref pingcap/tidb#53246
2024-06-17 10:50:46 +00:00
98a0a755fb ddl: unify merging unique and non-unique index for multi-schema change (#53632)
close pingcap/tidb#53677
2024-06-05 09:07:26 +00:00
5d990c60e4 ddl: sync schema version using watch, notify sessions on owner node by job id (#53217)
ref pingcap/tidb#53246
2024-05-17 06:11:44 +00:00
b1b0995448 ddl: check local file existence before resume checkpoint (#53072)
close pingcap/tidb#53009
2024-05-07 10:25:08 +00:00
10971ea5b0 ddl: use package-level logger which preset "category" field (#52885)
close pingcap/tidb#52883
2024-04-26 07:19:48 +00:00
312b69f2d7 ddl: make sure put key into ETCD monotonously (#52381)
close pingcap/tidb#47060, close pingcap/tidb#52335
2024-04-09 16:00:21 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
86aaec1567 ddl: simple refactoring OwnerCheckAllVersions, remove isChanClosed and IsContextDone (#51304)
close pingcap/tidb#51343
2024-02-29 03:56:07 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
ab1f518a39 ddl: fix unstable test (#49891)
close pingcap/tidb#49827
2023-12-28 14:51:28 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
50237bdf1d statistics: use new DDL event in stats handler (#48516)
ref pingcap/tidb#48126
2023-11-13 12:17:15 +00:00
f47b97806e ddl: do not switch to import mode during adding index (#48083)
close pingcap/tidb#48259
2023-11-09 05:33:42 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00