[pve-devel] [PATCH-SERIES v2 manager/guest-common] replication: improve removal of stale snapshots/volumes

Fiona Ebner f.ebner at proxmox.com
Wed Jul 27 13:22:23 CEST 2022

Am 13.06.22 um 12:29 schrieb Fabian Ebner:
> In certain scenarios, see manager 2/2 and guest-common 3/4, replicated
> volumes could end up orphaned. This series attempts to fix those, as
> well as making removal of stale replication snaphsots a bit more
> robust. Also includes some slight documentation improvements regarding
> prepare().


> v1 can be found here (but there was no discussion):
> https://lists.proxmox.com/pipermail/pve-devel/2020-October/045388.html
> Changes from v1:
>     * Adapt to changed behavior of prepare(), so we still only catch
>       volumes that had replication snapshots belonging to the job.
>     * Drop simplification that would only rely on replication state
>       to get storages for full removal.
>     * Add safe-guard to only remove other replication snaphsots if the
>       last_sync snapshot is present.

More information about the pve-devel mailing list