mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
mon/MgrMonitor: only propose if we updated
Otherwise we generate a new map on every beacon, even though there is no change. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
b4bd579fdd
commit
3ef3e399b8
@ -236,7 +236,7 @@ bool MgrMonitor::prepare_beacon(MonOpRequestRef op)
|
||||
dout(10) << "no change" << dendl;
|
||||
}
|
||||
|
||||
return true;
|
||||
return updated;
|
||||
}
|
||||
|
||||
void MgrMonitor::check_subs()
|
||||
|
Loading…
Reference in New Issue
Block a user