fix:correctly handle replicate delete (#1850)

Co-authored-by: loverustfs <hello@rustfs.com>
This commit is contained in:
LeonWang0735
2026-02-19 13:23:29 +08:00
committed by GitHub
parent 7ae0415715
commit c7211c9df7
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -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 {
-4
View File
@@ -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;
}