Merge pull request #13946 from LiumxNL/wip-170313

osd: don't share osdmap with objecter when preboot

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Yuri Weinstein 2017-03-17 14:35:45 -07:00 committed by GitHub
commit c187200723

View File

@ -6803,7 +6803,8 @@ void OSD::handle_osd_map(MOSDMap *m)
session->put();
// share with the objecter
service.objecter->handle_osd_map(m);
if (!is_preboot())
service.objecter->handle_osd_map(m);
epoch_t first = m->get_first();
epoch_t last = m->get_last();