On streach mod clusters we can see slow ops when
removing and adding osds with --zap --force when osds
connected to peon monitor and forwarding the MLog to leader.
the no_reply is set only when we are connected to the leader,
this fix will add also the other option - so no_reply set anyway.
Fixes: https://tracker.ceph.com/issues/54489
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit
56cb53db96380c917f4192c31cbdd0f0f3ef1fe9)
goto done;
}
- return false;
-
- done:
- mon.no_reply(op);
- return true;
+ done:
+ mon.no_reply(op);
+ return (!num_new);
}
struct LogMonitor::C_Log : public C_MonOp {