stratis: update to version 3.0.4
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
diff -ur stratisd-2.0.1/src/engine/strat_engine/thinpool/thinpool.rs stratisd-2.0.1.new/src/engine/strat_engine/thinpool/thinpool.rs
|
||||
--- stratisd-2.0.1/src/engine/strat_engine/thinpool/thinpool.rs 2020-02-11 01:07:44.000000000 +0300
|
||||
+++ stratisd-2.0.1.new/src/engine/strat_engine/thinpool/thinpool.rs 2020-05-19 10:53:32.716859774 +0300
|
||||
@@ -428,12 +428,12 @@
|
||||
let mut fs_table = Table::default();
|
||||
for (name, uuid, fs) in filesystems {
|
||||
let evicted = fs_table.insert(name, uuid, fs);
|
||||
- if evicted.is_some() {
|
||||
+ // if evicted.is_some() {
|
||||
// TODO: Recover here. Failing the entire pool setup because
|
||||
// of this is too harsh.
|
||||
- let err_msg = "filesystems with duplicate UUID or name specified in metadata";
|
||||
- return Err(StratisError::Engine(ErrorEnum::Invalid, err_msg.into()));
|
||||
- }
|
||||
+ // let err_msg = "filesystems with duplicate UUID or name specified in metadata";
|
||||
+ // return Err(StratisError::Engine(ErrorEnum::Invalid, err_msg.into()));
|
||||
+ // }
|
||||
}
|
||||
|
||||
let thin_ids: Vec<ThinDevId> = filesystem_metadatas.iter().map(|x| x.thin_id).collect();
|
||||
Reference in New Issue
Block a user