Skip to content

Draft: Decrease the value of replica-replenishment-wait-interval for libvirt

Mohan Sharma requested to merge fix-rolling-upgrade-issue into main

What does this MR do and why?

After the re-provisioning of longhorn node during rolling upgrade, the replicas become not reusable.

Longhorn retires to rebuild the replica from failed/stale replica till replica-replenishment-wait-interval expires which is 1 hour.

Due to this rolling upgrade gets failed.

So in case of libvirt it is not possible to rebuild the replicas from failed/stale replicas.

Replica replenishment should be done by creating new replica.

Closes: #1193

Edited by Mohan Sharma

Merge request reports