mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 13:27:43 +00:00
fix:correctly handle replicate delete (#1850)
Co-authored-by: loverustfs <hello@rustfs.com>
This commit is contained in:
@@ -4508,6 +4508,7 @@ impl StorageAPI for SetDisks {
|
||||
.as_ref()
|
||||
.map(|v| v.replica_status == ReplicationStatusType::Replica)
|
||||
== Some(true)
|
||||
|| opts.version_purge_status() == VersionPurgeStatusType::Complete
|
||||
{
|
||||
ReplicateDecision::default()
|
||||
} else {
|
||||
|
||||
@@ -1849,10 +1849,6 @@ impl MetaObject {
|
||||
continue;
|
||||
}
|
||||
|
||||
if lower_k == VERSION_PURGE_STATUS_KEY.to_lowercase() {
|
||||
continue;
|
||||
}
|
||||
|
||||
if lower_k == AMZ_STORAGE_CLASS.to_lowercase() && v == b"STANDARD" {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user