21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
|
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();
|