This commit is contained in:
Aiden McClelland
2021-10-20 14:52:33 -06:00
parent 826fa23aa0
commit 7bb573abb8

View File

@@ -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(),