mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-24 13:16:28 +00:00
Merge branch 'cxymds/fix-1358-opaque-transition-metadata' into cxymds/fix-1358-fleet-version-gate
This commit is contained in:
@@ -9778,7 +9778,17 @@ mod tests {
|
|||||||
Ok(_) => panic!("unknown remote version state must not persist a delete journal"),
|
Ok(_) => panic!("unknown remote version state must not persist a delete journal"),
|
||||||
Err(err) => err,
|
Err(err) => err,
|
||||||
};
|
};
|
||||||
assert!(matches!(legacy_err, StorageError::FileNotFound));
|
assert!(
|
||||||
|
matches!(
|
||||||
|
&legacy_err,
|
||||||
|
StorageError::FileNotFound
|
||||||
|
| StorageError::ObjectNotFound(_, _)
|
||||||
|
| StorageError::FileVersionNotFound
|
||||||
|
| StorageError::VersionNotFound(_, _, _)
|
||||||
|
| StorageError::VolumeNotFound
|
||||||
|
),
|
||||||
|
"unknown remote version state must leave no journal, got {legacy_err:?}"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn put_real_cold_fill_object(store: &Arc<ECStore>, bucket: &str, object: &str, body: &[u8]) -> ObjectInfo {
|
async fn put_real_cold_fill_object(store: &Arc<ECStore>, bucket: &str, object: &str, body: &[u8]) -> ObjectInfo {
|
||||||
|
|||||||
Reference in New Issue
Block a user