rep_op_fut_t is already used in mutiple files.
Instead of intoducing common types in each relevant file,
future work shoud move this type (and similar) to "crimson_types" file.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
backfill_state->enqueue_standalone_delete(obj, v, peers);
}
-PG::interruptible_future<
- std::tuple<PG::interruptible_future<>,
- PG::interruptible_future<>>>
+PG::interruptible_future<PG::rep_op_fut_t>
PG::submit_transaction(
ObjectContextRef&& obc,
ObjectContextRef&& new_clone,
interruptible_future<MURef<MOSDOpReply>> do_pg_ops(Ref<MOSDOp> m);
public:
- interruptible_future<
- std::tuple<interruptible_future<>, interruptible_future<>>>
+ using rep_op_fut_t = std::tuple<interruptible_future<>,
+ interruptible_future<>>;
+ interruptible_future<rep_op_fut_t>
submit_transaction(
ObjectContextRef&& obc,
ObjectContextRef&& new_clone,