Feed every map message we see (that isn't discarded for some other
reason) to the Objecter. It has the same continuity requirements that
the OSD has, so it should be satisfied with what we get. It can also
request maps via our MonClient.
Signed-off-by: Sage Weil <sage@inktank.com>
if (session)
session->put();
+ // share with the objecter
+ {
+ Mutex::Locker l(service.objecter_lock);
+ m->get();
+ service.objecter->handle_osd_map(m);
+ }
+
epoch_t first = m->get_first();
epoch_t last = m->get_last();
dout(3) << "handle_osd_map epochs [" << first << "," << last << "], i have "