aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-11-15 13:07:42 +0100
committerAlex Auvolat <alex@adnab.me>2023-11-15 13:07:42 +0100
commitacd49de9f97bd27409232691262bd5827983388d (patch)
tree2cf94185f5bf6c720ca3cb0eee827d165e2b7daa /src/util
parent46007bf01dd2e5b489d145ca0a5499ffa7257b96 (diff)
downloadgarage-acd49de9f97bd27409232691262bd5827983388d.tar.gz
garage-acd49de9f97bd27409232691262bd5827983388d.zip
rpc: fix write set quorums
Diffstat (limited to 'src/util')
-rw-r--r--src/util/error.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/util/error.rs b/src/util/error.rs
index 3fcee71d..be7cdfdb 100644
--- a/src/util/error.rs
+++ b/src/util/error.rs
@@ -55,13 +55,14 @@ pub enum Error {
Timeout,
#[error(
- display = "Could not reach quorum of {}. {} of {} request succeeded, others returned errors: {:?}",
+ display = "Could not reach quorum of {} (sets={:?}). {} of {} request succeeded, others returned errors: {:?}",
_0,
_1,
_2,
- _3
+ _3,
+ _4
)]
- Quorum(usize, usize, usize, Vec<String>),
+ Quorum(usize, Option<usize>, usize, usize, Vec<String>),
#[error(display = "Unexpected RPC message: {}", _0)]
UnexpectedRpcMessage(String),