MCPcopy Create free account
hub / github.com/ceph/ceph / _commit_logged

Method _commit_logged

src/mds/MDSTableServer.cc:224–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void MDSTableServer::_commit_logged(const cref_t<MMDSTableRequest> &req)
225{
226 dout(7) << "_commit_logged, sending ACK" << dendl;
227
228 ceph_assert(g_conf()->mds_kill_mdstable_at != 6);
229 version_t tid = req->get_tid();
230
231 pending_for_mds.erase(tid);
232 committing_tids.erase(tid);
233
234 _commit(tid, req);
235 _note_commit(tid);
236
237 auto reply = make_message<MMDSTableRequest>(table, TABLESERVER_OP_ACK, req->reqid, req->get_tid());
238 mds->send_message_mds(reply, mds_rank_t(req->get_source().num()));
239}
240
241class C_Rollback : public MDSLogContextBase {
242 MDSTableServer *server;

Callers 1

finishMethod · 0.80

Calls 5

send_message_mdsMethod · 0.80
get_tidMethod · 0.45
eraseMethod · 0.45
numMethod · 0.45
get_sourceMethod · 0.45

Tested by

no test coverage detected