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:
Sage Weil 2017-04-19 17:04:53 -04:00
parent b4bd579fdd
commit 3ef3e399b8

View File

@ -236,7 +236,7 @@ bool MgrMonitor::prepare_beacon(MonOpRequestRef op)
dout(10) << "no change" << dendl;
}
return true;
return updated;
}
void MgrMonitor::check_subs()