mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
mgrc: fix report sending after failover
The send_report loop doesn't get kicked off on configure messages unless the period is set to its initial value (0). Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
9501bfdd71
commit
e3104862b8
@ -96,6 +96,7 @@ bool MgrClient::handle_mgr_map(MMgrMap *m)
|
||||
<< session->con->get_peer_addr() << dendl;
|
||||
delete session;
|
||||
session = nullptr;
|
||||
stats_period = 0;
|
||||
if (report_callback != nullptr) {
|
||||
timer.cancel_event(report_callback);
|
||||
report_callback = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user