Otherwise, operator<< and dump_detail would need to accessing req after
the call to handle_rep_op.
Fixes: https://tracker.ceph.com/issues/57739
Signed-off-by: Samuel Just <sjust@redhat.com>
IRef ref = this;
return interruptor::with_interruption([this, pg] {
- return pg->do_update_log_missing(std::move(req));
+ return pg->do_update_log_missing(req);
}, [ref](std::exception_ptr) { return seastar::now(); }, pg);
}
IRef ref = this;
return interruptor::with_interruption([this, pg] {
- return pg->handle_rep_op(std::move(req));
+ return pg->handle_rep_op(req);
}, [ref](std::exception_ptr) { return seastar::now(); }, pg);
}