[FEATURE] Support automatic offline replica rebuilding of volumes using SPDK data engine #6071
Closed
Description
Is your feature request related to a problem? Please describe (👍 if you like this request)
Currently, the SPDK data engine only supports offline replica rebuilding for volumes. The objective of this ticket is to develop an automatic offline replica rebuilding feature. If a degraded volume gets detached, this mechanism will attach the volume, deactivate the frontend, and initiate the rebuilding process.
The tasks of the ticket:
- Introduce a global setting
offline-replica-rebuilding
(boolean) - introduce volume spec and status fields
spec.offlineReplicaRebuilding
: per-volume settingstatus.offlineReplicaRebuildingRequired
- implement the offline rebuilding logics based on
- current rebuilding logics
- AD controller
In the future, the feature could also be extended to legacy volumes. The benefit of this feature is to automatically heal degraded volumes, even if they are out of service.
Describe the solution you'd like
A clear and concise description of what you want to happen
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Metadata
Labels
Type
Projects
Status
Closed