layout: allow sync update tracker to progress with only quorums

This commit is contained in:
Alex Auvolat
2023-12-07 14:27:53 +01:00
parent aa59059a91
commit 9cecea64d4
7 changed files with 152 additions and 21 deletions
+7
View File
@@ -54,4 +54,11 @@ impl ReplicationMode {
Self::ThreeWayDangerous => 1,
}
}
pub fn is_read_after_write_consistent(&self) -> bool {
match self {
Self::None | Self::TwoWay | Self::ThreeWay => true,
_ => false,
}
}
}