return PG::interruptor::now();
}, [FNAME, pg](std::exception_ptr ep) {
DEBUGDPP("interrupted with {}", *pg, ep);
- }, pg).then([format] {
+ }, pg, pg->get_osdmap_epoch()).then([format] {
std::unique_ptr<Formatter> f{
Formatter::create(format, "json-pretty", "json-pretty")
};
}, [FNAME, this, this_instance_id, pgref](std::exception_ptr eptr) {
DEBUGDPP("{}.{}: interrupted due to {}",
*pgref, *this, this_instance_id, eptr);
- }, pgref).finally(
+ }, pgref, pgref->get_osdmap_epoch()).finally(
[this, FNAME, opref=std::move(opref), pgref,
this_instance_id, instance_handle=std::move(instance_handle), &ihref] {
DEBUGDPP("{}.{}: exit", *pgref, *this, this_instance_id);
});
}, [](std::exception_ptr) {
return seastar::now();
- }, pg).finally([this, ref=std::move(ref)] {
+ }, pg, pg->get_osdmap_epoch()).finally([this, ref=std::move(ref)] {
logger().debug("{}: exit", *this);
handle.exit();
});
});
}, [](std::exception_ptr) {
return seastar::now();
- }, pg).finally([this, ref=std::move(ref)] {
+ }, pg, pg->get_osdmap_epoch()).finally([this, ref=std::move(ref)] {
logger().debug("{}: exit", *this);
handle.exit();
});
});
}, [](std::exception_ptr) {
return seastar::now();
- }, pgref).finally([this, opref=std::move(opref), pgref] {
+ }, pgref, pgref->get_osdmap_epoch()).finally([this, opref=std::move(opref), pgref] {
logger().debug("{}: exit", *this);
track_event<CompletionEvent>();
handle.exit();
});
}, [](std::exception_ptr) {
return seastar::now();
- }, pg).finally([this, ref=std::move(ref)] {
+ }, pg, pg->get_osdmap_epoch()).finally([this, ref=std::move(ref)] {
logger().debug("{}: exit", *this);
handle.exit();
});
}, [this](std::exception_ptr eptr) {
logger().debug("{}: snap trimming interrupted", *this);
ceph_assert(!peering_state.state_test(PG_STATE_SNAPTRIM));
- }, pg_ref).finally([pg_ref, this] {
+ }, pg_ref, pg_ref->get_osdmap_epoch()).finally([pg_ref, this] {
publish_stats_to_osd();
});
} else {