Skip to content

Commit b1e4a2b

Browse files
Merge pull request ceph#61933 from NitzanMordhai/wip-nitzan-logmonitor-forward-msg-noreply
LogMonitor: set no_reply for forward MLog commands
2 parents 5c9094d + 56cb53d commit b1e4a2b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/mon/LogMonitor.cc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -711,11 +711,9 @@ bool LogMonitor::preprocess_log(MonOpRequestRef op)
711711
goto done;
712712
}
713713

714-
return false;
715-
716-
done:
717-
mon.no_reply(op);
718-
return true;
714+
done:
715+
mon.no_reply(op);
716+
return (!num_new);
719717
}
720718

721719
struct LogMonitor::C_Log : public C_MonOp {

0 commit comments

Comments
 (0)