aboutsummaryrefslogtreecommitdiff
path: root/src/model/k2v/item_table.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-10 11:59:57 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-10 11:59:57 +0100
commit789540ca379efd710f1e2699fd458b4821f36a5b (patch)
treef4791548e2b2f660a957e01fab14ddd1454a76e2 /src/model/k2v/item_table.rs
parent9f5419f465de3ddbb9afc91464d0eb00636049b9 (diff)
downloadgarage-789540ca379efd710f1e2699fd458b4821f36a5b.tar.gz
garage-789540ca379efd710f1e2699fd458b4821f36a5b.zip
Type definition for range seen marker
Diffstat (limited to 'src/model/k2v/item_table.rs')
-rw-r--r--src/model/k2v/item_table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/k2v/item_table.rs b/src/model/k2v/item_table.rs
index 1ba9bb46..bc2b1aef 100644
--- a/src/model/k2v/item_table.rs
+++ b/src/model/k2v/item_table.rs
@@ -106,7 +106,7 @@ impl K2VItem {
/// Extract the causality context of a K2V Item
pub fn causal_context(&self) -> CausalContext {
- let mut cc = CausalContext::new_empty();
+ let mut cc = CausalContext::new();
for (node, ent) in self.items.iter() {
cc.vector_clock.insert(*node, ent.max_time());
}