96 Commits

Author SHA1 Message Date
752905dd38 bootstrap/upgrade: split definition and code logic for better maintenance (#65403)
close pingcap/tidb#61702
2026-01-06 13:00:05 +00:00
e4f8ba94a2 kv, owner: remove unused variables, functions, and struct fields (#63879)
ref pingcap/tidb#61967
2025-10-15 12:01:13 +00:00
2ef60523a2 store,ttl,util : fix some function names (#63692) 2025-10-08 14:11:03 +00:00
1f967030a0 fix: drop some dead code phase 1 (#63079)
ref pingcap/tidb#50727
2025-09-05 09:54:33 +00:00
e54fe94984 planner: TTL scan can trigger sync/async load/generateRuntimeFilter (#62616)
close pingcap/tidb#61822
2025-07-30 17:18:16 +00:00
ad4f3ea0f7 bootstrap: refactor the system tables/dbs creation (#62540)
ref pingcap/tidb#61702
2025-07-23 05:07:17 +00:00
b8063d54f3 domain, executor: attach stats collector for IMPORT INTO sessions (#61849)
close pingcap/tidb#61922
2025-07-01 07:50:45 +00:00
a268223774 domain: load system keyspace info schema (#61939)
ref pingcap/tidb#61702
2025-06-25 10:41:57 +00:00
1abbbf02de session: rename GetDomainInfoSchema to GetLatestInfoSchema (#61894)
ref pingcap/tidb#61702
2025-06-23 10:09:21 +00:00
8fc1430b83 *: change some unnecessary error logs to warn or info (#61428) 2025-06-18 06:37:15 +00:00
835472c385 ttl: fix the issue that the TTL execution summary for timeout job is empty (#61518)
close pingcap/tidb#61509
2025-06-06 08:10:56 +00:00
fc28ff6fa1 ttl: fix the issue that TTL cannot start if regions are merged frequently (#61530)
close pingcap/tidb#61512
2025-06-06 07:09:53 +00:00
0f5aa223ec *: rewrite InTest to EnableInternalCheck (#60167)
ref pingcap/tidb#60176
2025-06-05 07:56:08 +00:00
1c6c5ad2ac ttl: fix ut failure after using advanced session (#61180)
close pingcap/tidb#61175
2025-05-25 13:24:34 +00:00
ba770fc43d *: add exptostd linter (#61014)
close pingcap/tidb#61013
2025-05-08 12:51:50 +00:00
8ffbddd447 *: gopls modernize non-owned packages, final part (#60919)
close pingcap/tidb#60918
2025-05-07 18:14:54 +00:00
a3d11f3860 ttl: fix unstanle TTL test TestGetSessionWithFault/TestWithSession (#60901)
close pingcap/tidb#60900
2025-04-28 10:48:45 +00:00
7e3bbcfaad ttl: use AdvancedSessionPool in TTL (#60474)
close pingcap/tidb#60473
2025-04-21 08:55:09 +00:00
f3d0e43040 *: upgrade to the latest client-go (#59757)
ref pingcap/tidb#58780
2025-03-27 07:32:36 +00:00
baf6ca1e69 timer: fix some potential mem leaks (#59799)
close pingcap/tidb#59798
2025-03-13 15:09:36 +00:00
01a52cbf66 ttl: don't GC running TTL jobs (#58644)
close pingcap/tidb#58642
2025-02-11 10:35:36 +00:00
7515439992 ttl: only gc in leader to save performance (#59358)
close pingcap/tidb#59357
2025-02-11 08:44:59 +00:00
b7aafa67ec ttl: fix the issue that the TTL jobs are skipped or handled multiple times in one iteration (#59348)
close pingcap/tidb#59347
2025-02-08 14:37:05 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
e8f602636b ttl: rollback the scan trasnaction even if the BEGIN failed. (#58943)
close pingcap/tidb#58900
2025-01-15 09:34:43 +00:00
fedc98a3a7 ttl: disable paging in TTL (#58759)
close pingcap/tidb#58342
2025-01-09 04:16:52 +00:00
d73e58449e ttl, test: scale TTL workers during the fault tests (#58750)
close pingcap/tidb#58745
2025-01-08 09:06:44 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
f840fa9459 test,ut: add long flag for tests and adopt long flag in ut tool (#58492)
close pingcap/tidb#58491
2025-01-02 08:57:54 +00:00
2a72e7f012 ttl: set the job history status to cancelled if it's removed in GC and it's still running (#58539)
close pingcap/tidb#58510
2024-12-25 12:25:15 +00:00
392fb75453 ttl: fix the infinite waiting for delRateLimiter when tidb_ttl_delete_rate_limit changes (#58485)
close pingcap/tidb#58484
2024-12-24 03:43:30 +00:00
14a469ab9d *: upgrade the PD client to adopt the latest refactor (#58440)
ref pingcap/tidb#58439
2024-12-23 10:36:12 +00:00
d9749cd329 ttl: add integration test with random fault session for TTL (#58110)
close pingcap/tidb#58411
2024-12-20 08:58:27 +00:00
d92dce025a ttl: reduce some warnings logs when locking TTL tasks (#58306)
close pingcap/tidb#58305
2024-12-17 13:21:03 +00:00
1bf57f5e69 ttl: add more information in TTL logs (#58199)
close pingcap/tidb#58197
2024-12-17 11:51:30 +00:00
cea46f17ce ttl: retry the rows when del rate limiter returns error in delWorker (#58206)
close pingcap/tidb#58205
2024-12-16 04:56:51 +00:00
7ac73e9161 ttl: fix the timezone issue and panic in the caller of getSession (#58166)
close pingcap/tidb#58107, close pingcap/tidb#58109
2024-12-11 09:26:15 +00:00
bb9096cac6 ttl: reschedule task to other instances when shrinking worker (#57703)
close pingcap/tidb#57990
2024-12-05 18:56:53 +00:00
0392cdda76 ttl: fix the issue that one task losing heartbeat will block other tasks (#57919)
close pingcap/tidb#57915
2024-12-04 09:59:29 +00:00
018ab99b80 ttl: fix the issue that the task is not cancelled after transfering owners (#57788)
close pingcap/tidb#57784
2024-12-02 11:48:59 +00:00
6434ca44f3 ttl,test: fix the datarace in TestShrinkScanWorkerTimeout (#57883)
close pingcap/tidb#57876
2024-12-02 08:55:53 +00:00
0215550620 ttl: set a result for timeout scan task during shrinking scan worker (#57718)
close pingcap/tidb#57708
2024-11-28 10:41:32 +00:00
924784aa3e ttl: make the default value of ttl_job_interval to 24h (#57758)
close pingcap/tidb#57757
2024-11-28 02:33:14 +00:00
ba791ab0dc ttl: fix the issue that DROP TABLE / ALTER TABLE will keep job running (#57707)
close pingcap/tidb#57556, close pingcap/tidb#57702
2024-11-27 07:22:59 +00:00
b11d034100 ttl: enlarge the max split of TTL job (#57701)
close pingcap/tidb#57700
2024-11-26 06:57:56 +00:00
afe8a09e92 ttl: cancel the hearbeat timeout job after disable the TTL (#57452)
close pingcap/tidb#57404
2024-11-18 10:14:11 +00:00
4cfe22cfa0 ttl: fix some panic when delete a ttl timer manually (#57118)
close pingcap/tidb#57112
2024-11-05 06:31:42 +00:00
50d73f80c4 ttl: fix some memory leak in TTL (#56935)
close pingcap/tidb#56934
2024-10-29 08:31:10 +00:00
670e970b22 ttl: always enable all read engines for TTL sessions (#56604)
close pingcap/tidb#56402
2024-10-22 05:26:23 +00:00
73584bb883 ttl: make some integration test faster (#56719)
close pingcap/tidb#56718
2024-10-21 04:53:23 +00:00