mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
osdc/Objecter: prevent double-invocation of linger op callback
Fixes: http://tracker.ceph.com/issues/23872 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
754dd93383
commit
1bc6f31f8f
@ -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