Skip to content

Commit

Permalink
Merge pull request #268 from openshift-cherrypick-robot/cherry-pick-2…
Browse files Browse the repository at this point in the history
…50-to-18.0.0-proposed

[18.0.0-proposed] Fix race condition if ring rebalance is needed
  • Loading branch information
openshift-merge-bot[bot] authored Sep 13, 2024
2 parents f843fbc + 929f0e4 commit 22ce49c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/swiftring_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,10 @@ func (r *SwiftRingReconciler) reconcileNormal(ctx context.Context, instance *swi
return ctrl.Result{}, err
}
}
return ctrl.Result{}, nil
}

// will only be updated if job does not exist (anymore)
instance.Status.Hash[swiftv1beta1.RingCreateHash] = ""
instance.Status.Hash[swiftv1beta1.DeviceListHash] = deviceListHash
}
Expand Down

0 comments on commit 22ce49c

Please sign in to comment.