mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
fixes #13
This commit is contained in:
@@ -185,6 +185,9 @@ impl Node {
|
||||
req: Request,
|
||||
locks_on_lease: &mut Vec<oneshot::Receiver<LockInfo>>,
|
||||
) -> Option<Request> {
|
||||
if req.completion.is_closed() {
|
||||
return None;
|
||||
}
|
||||
match (
|
||||
req.lock_info.ty,
|
||||
req.lock_info.segments_handled == req.lock_info.ptr.len(),
|
||||
|
||||
Reference in New Issue
Block a user