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

Method _check_command_map_dne

src/osdc/Objecter.cc:1870–1887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1868}
1869
1870void Objecter::_check_command_map_dne(CommandOp *c)
1871{
1872 // rwlock is locked unique
1873 // session is locked unique
1874
1875 ldout(cct, 10) << "_check_command_map_dne tid " << c->tid
1876 << " current " << osdmap->get_epoch()
1877 << " map_dne_bound " << c->map_dne_bound
1878 << dendl;
1879 if (c->map_dne_bound > 0) {
1880 if (osdmap->get_epoch() >= c->map_dne_bound) {
1881 _finish_command(c, osdcode(c->map_check_error),
1882 std::move(c->map_check_error_str), {});
1883 }
1884 } else {
1885 _send_command_map_check(c);
1886 }
1887}
1888
1889void Objecter::_send_command_map_check(CommandOp *c)
1890{

Callers 1

operator()Method · 0.80

Calls 2

osdcodeFunction · 0.70
get_epochMethod · 0.45

Tested by

no test coverage detected