From 8adc108ff542a8053b24d9d886b9b11f99a9d89e Mon Sep 17 00:00:00 2001 From: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com> Date: Thu, 9 Jan 2025 11:17:51 -0500 Subject: [PATCH] handling no leader case (#553) Signed-off-by: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com> --- src/groups/mqb/mqbblp/mqbblp_clusterqueuehelper.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/groups/mqb/mqbblp/mqbblp_clusterqueuehelper.cpp b/src/groups/mqb/mqbblp/mqbblp_clusterqueuehelper.cpp index 05949eca9..919ac29cd 100644 --- a/src/groups/mqb/mqbblp/mqbblp_clusterqueuehelper.cpp +++ b/src/groups/mqb/mqbblp/mqbblp_clusterqueuehelper.cpp @@ -5551,10 +5551,6 @@ void ClusterQueueHelper::deconfigureUri( } BSLS_ASSERT(pinfo.primaryNode() == contextSp->d_peer); } - else { - BSLS_ASSERT(d_clusterData_p->electorInfo().leaderNode() == - contextSp->d_peer); - } // Primary is active; send configure-queue request, wait for response, // send close-queue request