Skip to content

Commit

Permalink
Merge pull request #13041 from roosterfish/fix_rsync_eol_feature_offer
Browse files Browse the repository at this point in the history
Container: Remove LXD 3.7 rsync feature exception when doing live migration
  • Loading branch information
tomponline authored Mar 5, 2024
2 parents 6c6d117 + 58c9336 commit 2e9a403
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lxd/instance/drivers/driver_lxc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5426,11 +5426,6 @@ func (d *lxc) MigrateSend(args instance.MigrateSendArgs) error {
// Setup rsync options (used for CRIU state transfers).
rsyncBwlimit := pool.Driver().Config()["rsync.bwlimit"]
rsyncFeatures := respHeader.GetRsyncFeaturesSlice()
if !shared.ValueInSlice("bidirectional", rsyncFeatures) {
// If no bi-directional support, assume LXD 3.7 level.
// NOTE: Do NOT extend this list of arguments.
rsyncFeatures = []string{"xattrs", "delete", "compress"}
}

if respHeader.Criu == nil {
return fmt.Errorf("Got no CRIU socket type for live migration")
Expand Down

0 comments on commit 2e9a403

Please sign in to comment.