Merge pull request #13072 from wido/issue-18638

osd: Return correct osd_objectstore in OSD metadata

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
Sage Weil 2017-01-25 06:22:41 -06:00 committed by GitHub
commit 2947cf3c6d

View File

@ -5119,7 +5119,7 @@ void OSD::_collect_metadata(map<string,string> *pm)
(*pm)["hb_back_addr"] = stringify(hb_back_server_messenger->get_myaddr());
// backend
(*pm)["osd_objectstore"] = cct->_conf->osd_objectstore;
(*pm)["osd_objectstore"] = store->get_type();
store->collect_metadata(pm);
collect_sys_info(pm, cct);