diff --git a/src/blockstore/blockstore_stable.cpp b/src/blockstore/blockstore_stable.cpp index b40775bb..ce3d0615 100644 --- a/src/blockstore/blockstore_stable.cpp +++ b/src/blockstore/blockstore_stable.cpp @@ -37,6 +37,12 @@ int blockstore_impl_t::dequeue_stable(blockstore_op_t *op) FINISH_OP(op); return 2; } + if (res == ENOENT) + { + op->retval = -ENOENT; + FINISH_OP(op); + return 2; + } if (res == ENOSPC) { if (!heap->get_to_compact_count())