Skip to content

Commit

Permalink
Merge pull request #21649 from dillaman/wip-23872
Browse files Browse the repository at this point in the history
osdc/Objecter: prevent double-invocation of linger op callback

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
tchaikov committed Apr 27, 2018
2 parents f9dbfbe + 1bc6f31 commit 70a3e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osdc/Objecter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,7 @@ void Objecter::_check_linger_pool_dne(LingerOp *op, bool *need_unregister)
if (osdmap->get_epoch() >= op->map_dne_bound) {
if (op->on_reg_commit) {
op->on_reg_commit->complete(-ENOENT);
op->on_reg_commit = nullptr;
}
*need_unregister = true;
}
Expand Down

0 comments on commit 70a3e24

Please sign in to comment.