Skip to content

mvservice: gc mv op hist#7

Merged
windtalker merged 1 commit intowindtalker:mv_testfrom
solotzg:mv_test
Mar 3, 2026
Merged

mvservice: gc mv op hist#7
windtalker merged 1 commit intowindtalker:mv_testfrom
solotzg:mv_test

Conversation

@solotzg
Copy link

@solotzg solotzg commented Mar 2, 2026

original gc retention: 7day

➜ tidb (mv_test) ✔ curl -sS 127.0.0.1:10080/mvservice/settings                                                         
{
 "task_max_concurrency": 10,
 "task_timeout": "5m0s",
 "backpressure_cpu_threshold": 0.8,
 "backpressure_mem_threshold": 0.8,
 "backpressure_delay": "100ms",
 "task_fail_retry_base_delay": "10s",
 "task_fail_retry_max_delay": "2m0s",
 "history_gc_interval": "1h0m0s",
 "history_gc_retention": "168h0m0s"
}%                                                                                                                                                    

set gc retention to 1m through the status interface

➜ tidb (mv_test) ✔ curl -sS -X POST 127.0.0.1:10080/mvservice/settings -d "history_gc_retention=1m" -d "history_gc_interval=1m"
{
 "task_max_concurrency": 10,
 "task_timeout": "5m0s",
 "backpressure_cpu_threshold": 0.8,
 "backpressure_mem_threshold": 0.8,
 "backpressure_delay": "100ms",
 "task_fail_retry_base_delay": "10s",
 "task_fail_retry_max_delay": "2m0s",
 "history_gc_interval": "1m0s",
 "history_gc_retention": "1m0s"
}%                                                                                                                                                                                                                                                                                                  

@solotzg solotzg changed the title Mv test mvservice: gc mv op hist Mar 2, 2026
Signed-off-by: Zhigao TONG <tongzhigao@pingcap.com>
@windtalker windtalker merged commit 9af756e into windtalker:mv_test Mar 3, 2026
@solotzg solotzg deleted the mv_test branch March 3, 2026 12:41
windtalker pushed a commit that referenced this pull request Mar 7, 2026
Signed-off-by: Zhigao TONG <tongzhigao@pingcap.com>
windtalker pushed a commit that referenced this pull request Mar 7, 2026
Signed-off-by: Zhigao TONG <tongzhigao@pingcap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants