From 292426f1e5292f75a39f0eeeb0afb8d4d244c5b9 Mon Sep 17 00:00:00 2001 From: sp98 Date: Thu, 14 Sep 2023 13:11:01 +0530 Subject: [PATCH] Revert "support osd migration in RDR customers" This reverts commit d2cccaeb6d6790d4e43817e0405f49dd85a11663. Signed-off-by: sp98 --- controllers/storagecluster/cephcluster.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/controllers/storagecluster/cephcluster.go b/controllers/storagecluster/cephcluster.go index 54f7e16918..ca8a6b26b8 100644 --- a/controllers/storagecluster/cephcluster.go +++ b/controllers/storagecluster/cephcluster.go @@ -269,12 +269,6 @@ func (obj *ocsCephCluster) ensureCreated(r *StorageClusterReconciler, sc *ocsv1. // Prevent removal of any RDR optimizations if they are already applied to the existing cluster spec. cephCluster.Spec.Storage.Store = determineOSDStore(cephCluster.Spec.Storage.Store, found.Spec.Storage.Store) - // Use bluestore-rdr if mirrioring is enabled - if sc.Spec.Mirroring.Enabled && !sc.Spec.ExternalStorage.Enable { - cephCluster.Spec.Storage.Store.Type = string(rookCephv1.StoreTypeBlueStoreRDR) - cephCluster.Spec.Storage.Store.UpdateStore = "yes-really-update-store" - } - // Add it to the list of RelatedObjects if found objectRef, err := reference.GetReference(r.Scheme, found) if err != nil {