_committed_osd_maps() may return early (without putting
the ref) on shutdown.
Fixes: http://tracker.ceph.com/issues/18293
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
a74632f964e10a57fb8065aec90dc7b69bddba5b)
: osd(o), first(f), last(l), msg(m) {}
void finish(int r) {
osd->_committed_osd_maps(first, last, msg);
+ msg->put();
}
};
else if (do_restart)
start_boot();
- m->put();
}
void OSD::check_osdmap_features(ObjectStore *fs)