Skip to content

[FEATURE] Support automatic offline replica rebuilding of volumes using SPDK data engine #6071

Closed
@derekbit

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 setting
    • status.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

area/v2-data-enginev2 data engine (SPDK)component/longhorn-managerLonghorn manager (control plane)kind/featureFeature request, new featurepriority/1Highly recommended to implement or fix in this release (managed by PO)require/docRequire updating the longhorn.io documentationrequire/lepRequire adding/updating enhancement proposalrequire/uiRequire adding functionality to UI

Type

No type

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions