Merge pull request #16307 from rook/mergify/bp/release-1.18/pr-16290
rbdmirror: fix status check for rbd rn mirroring (backport #16290)
This commit is contained in:
1 file changed
+1
-1
@@ -592,7 +592,7 @@ func (r *ReconcileCephBlockPoolRadosNamespace) reconcileMirroring(cephBlockPoolR
|
||||
}
|
||||
}
|
||||
|
||||
if cephBlockPool.Spec.StatusCheck.Mirror.Disabled {
|
||||
if cephBlockPool.Spec.StatusCheck.Mirror.Disabled || (!cephBlockPool.Spec.Mirroring.Enabled && cephBlockPoolRadosNamespace.Spec.Mirroring == nil) {
|
||||
// Stop monitoring the mirroring status of this radosNamespace
|
||||
if radosNamespaceContextsExists && r.radosNamespaceContexts[radosNamespaceChannelKey].started {
|
||||
r.cancelMirrorMonitoring(radosNamespaceChannelKey)
|
||||
|
||||
Reference in new issue
Block a user