diff options
Diffstat (limited to 'src/mds/SnapServer.cc')
-rw-r--r-- | src/mds/SnapServer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds/SnapServer.cc b/src/mds/SnapServer.cc index 67e08b23431..7da7fbe0d7b 100644 --- a/src/mds/SnapServer.cc +++ b/src/mds/SnapServer.cc @@ -262,7 +262,7 @@ bool SnapServer::_notify_prep(version_t tid) assert(version == tid); for (auto &p : active_clients) { - auto m = MMDSTableRequest::factory::build(table, TABLESERVER_OP_NOTIFY_PREP, 0, version); + auto m = MMDSTableRequest::create(table, TABLESERVER_OP_NOTIFY_PREP, 0, version); m->bl = bl; mds->send_message_mds(m, p); } @@ -277,7 +277,7 @@ void SnapServer::handle_query(const MMDSTableRequest::const_ref &req) auto p = req->bl.cbegin(); decode(op, p); - auto reply = MMDSTableRequest::factory::build(table, TABLESERVER_OP_QUERY_REPLY, req->reqid, version); + auto reply = MMDSTableRequest::create(table, TABLESERVER_OP_QUERY_REPLY, req->reqid, version); switch (op) { case 'F': // full @@ -349,7 +349,7 @@ void SnapServer::check_osd_map(bool force) if (!all_purge.empty()) { dout(10) << "requesting removal of " << all_purge << dendl; - auto m = MRemoveSnaps::factory::build(all_purge); + auto m = MRemoveSnaps::create(all_purge); mon_client->send_mon_message(m.detach()); } |