db435e1abe
ttl: auto delete old rows in mysql.tidb_ttl_job_history ( #40808 )
...
close pingcap/tidb#40807
2023-01-29 20:09:54 +08:00
d22795aafb
ttl: use a standalone manager in TriggerScanTask test ( #40816 )
...
close pingcap/tidb#40811
2023-01-29 14:05:54 +08:00
4686338d0e
ttl: add table mysql.ttl_job_history to store ttl job histories ( #40655 )
...
close pingcap/tidb#40654
2023-01-29 10:19:53 +08:00
fb96c1371d
ttl: notify tidb nodes through etcd notification ( #40705 )
...
close pingcap/tidb#40365
2023-01-28 18:35:53 +08:00
55361cf75c
linter: find inappropriate key in call to context.WithValue ( #40769 )
...
close pingcap/tidb#40796
2023-01-28 18:03:53 +08:00
f268e29b35
ttl: execute scan tasks ( #40564 )
...
close pingcap/tidb#40364
2023-01-18 15:55:51 +08:00
b61932461b
ttl: submit ttl scan task to the system table ( #40422 )
...
close pingcap/tidb#40362 , ref pingcap/tidb#40363
2023-01-13 15:51:46 +08:00
26dab31068
ttl: support float number and store ttl_job_interval in info schema ( #40509 )
...
Signed-off-by: YangKeao <yangkeao@chunibyo.icu >
Signed-off-by: YangKeao <yangkeao@chunibyo.icu >
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-12 16:42:34 +08:00
d8ef079277
ttl: retry delete when write conflict happens in txn ( #40503 )
...
* ttl: retry delete when write conflict happens in txn
* update
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-12 14:20:33 +08:00
caffd8d6c5
ttl: forbid creating/altering a table with TTL options when pk contains float/double column ( #40487 )
...
* ttl: forbid create/alter a table with TTL options when pk contains float/double column
* format
* update
* update
* update
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-11 16:22:33 +08:00
eff7462778
ttl: fix the TTL job reports error when primary key contains a column with type ENUM ( #40457 )
...
close pingcap/tidb#40456
2023-01-11 11:10:23 +08:00
9826913de0
ttl: Add CommandClient to trigger TTL job manually ( #40346 )
...
close pingcap/tidb#40345
2023-01-10 11:48:22 +08:00
7dbf1a5033
ttl: add ttl goroutine exit log ( #40416 )
...
close pingcap/tidb#40415
2023-01-09 18:12:22 +08:00
b226dfcb05
ttl: add ttl_job_interval attribute and remove tidb_ttl_job_interval variable ( #40033 )
...
close pingcap/tidb#40028
2023-01-06 17:56:21 +08:00
7e64d04f73
ttl: don't schedule ttl job when EnableTTLJob is off ( #40336 )
...
close pingcap/tidb#40335
2023-01-05 16:40:21 +08:00
25dd54f4f7
ttl: fix change status sql argument ( #40234 )
...
close pingcap/tidb#40231
2022-12-30 10:34:17 +08:00
1a7b3953c4
ttl, domain: setup a customized session pool with stats collector ( #40171 )
...
close pingcap/tidb#40109
2022-12-29 17:28:18 +08:00
c61ef1dcb1
ttl: escape parameters for finish job sql ( #40118 )
...
close pingcap/tidb#40115
2022-12-23 18:42:14 +08:00
acb8d46835
ttl: enable 1pc for ttl delete ( #39958 )
...
close pingcap/tidb#39957
2022-12-15 12:52:52 +08:00
51f0658983
ttl: initialize notifyStateCh in ttl job manager ( #39956 )
...
close pingcap/tidb#39955
2022-12-15 11:40:52 +08:00
4ad530ecdc
ttl: periodically update state for a job in heartbeat ( #39939 )
...
close pingcap/tidb#39938
2022-12-14 20:58:53 +08:00
de865c46ca
ttl: use optimistic transaction with 0 retry limit for ttl ( #39924 )
...
close pingcap/tidb#39923
2022-12-14 20:04:52 +08:00
aeec19306a
ttl: add log in the whole lifecycle of a job ( #39931 )
...
close pingcap/tidb#39930
2022-12-14 19:36:52 +08:00
66a2e96f27
ttl: fix ttl txn will not return error when rolling back ( #39918 )
...
close pingcap/tidb#39917
2022-12-14 15:06:52 +08:00
4a19cae84f
ttl: TTL support split scan ranges for some primary key with more than one columns ( #39896 )
...
close pingcap/tidb#39895
2022-12-14 11:22:51 +08:00
d2eca727f5
ttl: reschedule scan tasks after update task state ( #39891 )
...
close pingcap/tidb#39890
2022-12-14 01:46:53 +08:00
827d8ff2d2
ttl: fix scan workers shrink ( #39860 )
...
close pingcap/tidb#39859
2022-12-13 21:52:52 +08:00
c4047cc769
ttl: modify default value of tidb_ttl_delete_batch_size to 100 ( #39878 )
...
close pingcap/tidb#39877
2022-12-13 19:38:52 +08:00
cb435fe56b
ttl: Add metrics for TTL ( #39849 )
...
close pingcap/tidb#39848
2022-12-13 15:56:52 +08:00
b7e21a0dc4
*: fix slow query nil pointer panic when get session for TTL ( #39865 )
...
close pingcap/tidb#39864
2022-12-13 15:16:52 +08:00
621115bf67
ttl, variables: add system variables for ttl job schedule ( #39727 )
...
close pingcap/tidb#39725
2022-12-13 14:28:51 +08:00
965ed00d66
ttl: implement ttl job schedule framework ( #39472 )
...
close pingcap/tidb#39471
2022-12-12 15:50:51 +08:00
2d2f4f517a
ttl: add methods to split ttl scan tasks ( #39627 )
...
close pingcap/tidb#39626
2022-12-09 04:02:04 +08:00
3ee869e1f1
ttl: fix data race in ttlDeleteWorker ( #39635 )
...
close pingcap/tidb#39633
2022-12-06 10:12:02 +08:00
b770bc6751
ttl: add info schema cache and ttl table status table cache for ttl scheduler ( #39467 )
...
close pingcap/tidb#39466
2022-12-05 17:40:04 +08:00
2d3014928b
ttl: Implement scan and delete task for TTL ( #39481 )
...
close pingcap/tidb#39480 , close pingcap/tidb#39554
2022-12-05 13:08:02 +08:00
6a4b909c7d
parser: add global variable to control ttl syntax ( #39483 )
...
close pingcap/tidb#39482
2022-12-01 18:18:01 +08:00
7add1c845f
ttl: refractor ttl pkg into multiple sub packages ( #39491 )
...
Signed-off-by: YangKeao <yangkeao@chunibyo.icu >
2022-12-01 12:45:20 +08:00
1dd7a59753
ttl: introduce ttl.PhysicalTable to provide some common methods for TTL ( #39429 )
...
close pingcap/tidb#39428
2022-11-29 15:24:01 +08:00
99dbc778a0
ttl: Add some tools to build SQLs for TTL ( #39359 )
...
close pingcap/tidb#39339
2022-11-28 00:37:59 +08:00