mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
Merge pull request #21649 from dillaman/wip-23872
osdc/Objecter: prevent double-invocation of linger op callback Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
70a3e2433b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user