aboutsummaryrefslogtreecommitdiff
path: root/src/table/table_sharded.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-10 21:50:09 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-10 21:50:09 +0100
commit3214dd52dd144c99353830d7340ea158e262b06f (patch)
tree888445068edb26084f32961c210da4a4c38240cf /src/table/table_sharded.rs
parentaf7600f989d79d07253405647973828435f9d16c (diff)
downloadgarage-3214dd52dd144c99353830d7340ea158e262b06f.tar.gz
garage-3214dd52dd144c99353830d7340ea158e262b06f.zip
Very minor changes
Diffstat (limited to 'src/table/table_sharded.rs')
-rw-r--r--src/table/table_sharded.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/table_sharded.rs b/src/table/table_sharded.rs
index 098637dd..47bdfeaf 100644
--- a/src/table/table_sharded.rs
+++ b/src/table/table_sharded.rs
@@ -44,6 +44,7 @@ impl TableReplication for TableShardedReplication {
fn split_points(&self, ring: &Ring) -> Vec<Hash> {
let mut ret = vec![];
+ ret.push([0u8; 32].into());
for entry in ring.ring.iter() {
ret.push(entry.location);
}