diff options
author | Alex Auvolat <alex@adnab.me> | 2023-11-15 13:07:42 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-11-15 13:07:42 +0100 |
commit | acd49de9f97bd27409232691262bd5827983388d (patch) | |
tree | 2cf94185f5bf6c720ca3cb0eee827d165e2b7daa /src/model/k2v/rpc.rs | |
parent | 46007bf01dd2e5b489d145ca0a5499ffa7257b96 (diff) | |
download | garage-acd49de9f97bd27409232691262bd5827983388d.tar.gz garage-acd49de9f97bd27409232691262bd5827983388d.zip |
rpc: fix write set quorums
Diffstat (limited to 'src/model/k2v/rpc.rs')
-rw-r--r-- | src/model/k2v/rpc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/k2v/rpc.rs b/src/model/k2v/rpc.rs index 863a068a..3c759181 100644 --- a/src/model/k2v/rpc.rs +++ b/src/model/k2v/rpc.rs @@ -344,7 +344,7 @@ impl K2VRpcHandler { } if errors.len() > nodes.len() - quorum { let errors = errors.iter().map(|e| format!("{}", e)).collect::<Vec<_>>(); - return Err(Error::Quorum(quorum, resps.len(), nodes.len(), errors).into()); + return Err(Error::Quorum(quorum, None, resps.len(), nodes.len(), errors).into()); } // Take all returned items into account to produce the response. |