rpc: fix write set quorums

This commit is contained in:
Alex Auvolat
2023-11-15 13:07:42 +01:00
parent 46007bf01d
commit acd49de9f9
4 changed files with 22 additions and 13 deletions
+1 -1
View File
@@ -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.