Skip to content

Commit

Permalink
Merge pull request ceph#39347 from xxhdx1985126/wip-crimson-pg-bug-fix
Browse files Browse the repository at this point in the history
crimson/osd: make sure ox be removed after all continuations are finished in PG::do_osd_ops

Reviewed-by: Kefu Chai <[email protected]>
Reviewed-by: Radoslaw Zarzynski <[email protected]>
  • Loading branch information
tchaikov authored Feb 8, 2021
2 parents b64e247 + 0055348 commit 318ddc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crimson/osd/pg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ PG::do_osd_ops(
return rep_repair_primary_object(m, obc->obs.oi.soid, obc->obs.oi.version).then([]() -> PG::do_osd_ops_ertr::future<Ref<MOSDOpReply>> {
return crimson::ct_error::eagain::make();
});
}), OpsExecuter::osd_op_errorator::all_same_way([ox = ox.get(),
}), OpsExecuter::osd_op_errorator::all_same_way([ox = std::move(ox),
m,
obc,
this] (const std::error_code& e) {
Expand Down

0 comments on commit 318ddc5

Please sign in to comment.