diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-20 16:01:41 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-20 16:01:41 +0200 |
commit | ded444f6c96f8ab991e762f65760b42e4d64246c (patch) | |
tree | 068a012a904b9e7552bc1f594b7d93260c69409f /src/model/k2v/causality.rs | |
parent | 357b72f4ff721fcf4dd92c1f410c5f92d4fb9ab0 (diff) | |
download | garage-ded444f6c96f8ab991e762f65760b42e4d64246c.tar.gz garage-ded444f6c96f8ab991e762f65760b42e4d64246c.zip |
Ability to have custom timeouts in request strategy (not used)configurable-timeouts
Diffstat (limited to 'src/model/k2v/causality.rs')
-rw-r--r-- | src/model/k2v/causality.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/k2v/causality.rs b/src/model/k2v/causality.rs index 8c76a32b..9a692870 100644 --- a/src/model/k2v/causality.rs +++ b/src/model/k2v/causality.rs @@ -15,7 +15,7 @@ pub fn make_node_id(node_id: Uuid) -> K2VNodeId { u64::from_be_bytes(tmp) } -#[derive(PartialEq, Debug, Serialize, Deserialize)] +#[derive(PartialEq, Eq, Debug, Serialize, Deserialize)] pub struct CausalContext { pub vector_clock: BTreeMap<K2VNodeId, u64>, } |