tikv / tikv/pd

Clean up the archived keyspace

Open
#6,067 1 comment 0 reactions 0 assignees View on GitHub
type/development
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Development Task

When the state of a keyspace is changed to the archived state, the data corresponding to this keyspace needs to be cleaned up.

- [ ] Periodically retrieve archived keyspaces.
- [ ] A tikv client is used to clean up the data corresponding to the keyspace on tikv.
- [ ] Clean up the data corresponding to the keyspace on tikv.
- [ ] Clean up the PlacementRule corresponding to the keyspace.
- [ ] Clean up the RegionLabelRule corresponding to the keyspace.
- [ ] Clean up the ETCD Path corresponding to the keyspace.
- [ ] Change keyspace state to TOMBSTONE.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.