table::insert_many, version_table::updated

This commit is contained in:
Alex Auvolat
2020-04-11 19:43:29 +02:00
parent 53289b69e5
commit dcf58499a4
6 changed files with 104 additions and 35 deletions
+3 -6
View File
@@ -30,10 +30,10 @@ pub struct Config {
#[serde(default = "default_block_size")]
pub block_size: usize,
#[serde(default = "default_meta_replication_factor")]
#[serde(default = "default_replication_factor")]
pub meta_replication_factor: usize,
#[serde(default = "default_data_replication_factor")]
#[serde(default = "default_replication_factor")]
pub data_replication_factor: usize,
}
@@ -139,10 +139,7 @@ impl Garage {
fn default_block_size() -> usize {
1048576
}
fn default_meta_replication_factor() -> usize {
3
}
fn default_data_replication_factor() -> usize {
fn default_replication_factor() -> usize {
3
}