This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
Use GC-TTL to keep the GC Lifetime #389
Labels
difficulty/2-medium
Medium-difficulty issue
feature-request
This issue is a feature request
priority/P1
High priority issue, must be solved before next release
Milestone
Feature Request
Is your feature request related to a problem? Please describe:
Currently we use
UPDATE mysql.tidb SET VARIABLE_VALUE = '100h' WHERE VARIABLE_NAME = 'tikv_gc_life_time'
to disable the GC. This is error-prone when Lightning exits before this can be reverted.Describe the feature you'd like:
Use the more recent GC-TTL API so that PD can automatically re-enable GC even when Lightning exits accidentally.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Optimization:
The text was updated successfully, but these errors were encountered: