mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
incusd/instance/drivers: Prevent migration of dependent disk during final sync
In near-live migration, dependent volumes are handled separately during the third pass. Including them in the final sync is redundant and should be prevented. Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
This commit is contained in:
parent
9828800f04
commit
9cbdfa03ab
@ -6548,6 +6548,7 @@ func (d *lxc) MigrateSend(args instance.MigrateSendArgs) error {
|
||||
volSourceArgs.FinalSync = true
|
||||
volSourceArgs.Snapshots = nil
|
||||
volSourceArgs.Info.Config.VolumeSnapshots = nil
|
||||
volSourceArgs.DependentVolumes = nil
|
||||
|
||||
err = pool.MigrateInstance(d, filesystemConn, volSourceArgs, d.op)
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user