diff --git a/rustfs/src/storage/ecfs.rs b/rustfs/src/storage/ecfs.rs index 413cf6d3..91a10845 100644 --- a/rustfs/src/storage/ecfs.rs +++ b/rustfs/src/storage/ecfs.rs @@ -1342,7 +1342,7 @@ impl S3 for FS { } if is_dir_object(&object.object_name) && object.version_id.is_none() { - object.version_id = Some(Uuid::nil()); + object.version_id = Some(Uuid::max()); } if replicate_deletes {