You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A set of new APIs for GC will be implemented which is expected to provide a more comprehensible semantics and recude potential misuses. This will also be the basis for implementing a planned feature name protected snapshots.
Subtasks
Note that protected snapshots won't be included in this phase and will be another separated work after finishing the refactoring.
Support controlling disabling physical GC operations on TiKV (required by BR, lower priority)
Support watching global GC state changes (including all keyspaces; maybe required by keyspace-level-GC for running GC in TiKV, lower priority, necessary when the amount of keyspaces in a single cluster grows too high)
Implement the new set of methods on pd.Client interface type.
Basic API set
Support controlling disabling physical GC operations on TiKV (lower priority)
New pd-ctl commands gc-state for replacing the current service-gc-safepoint command.
Mark the old API deprecated.
The text was updated successfully, but these errors were encountered:
#9016)
ref #8978
Exposes etcd's transactoin API to kv.Base layer. The behavior is also simulated in `MemKV` and `LevelDBKV` to provide the same interface.
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Development Task
This is the majority part of the refactoring task pingcap/tidb#58720.
A set of new APIs for GC will be implemented which is expected to provide a more comprehensible semantics and recude potential misuses. This will also be the basis for implementing a planned feature name protected snapshots.
Subtasks
Note that protected snapshots won't be included in this phase and will be another separated work after finishing the refactoring.
kv.Base
layer, parallel to the existingkv.Base.RunInTxn
. storage: expose etcd's transaction as LowLevelTxn interface to kv.Base #9016GCStateStorage
andGCStateProvider
to storage/endpoints as the new storage layer for GC related metadata #9109pd.Client
interface type.gc-state
for replacing the currentservice-gc-safepoint
command.The text was updated successfully, but these errors were encountered: