mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Allow metadata updates on meta bucket even in WORM mode (#8657)
This ensures that we can update the - .minio.sys is updated for accounting/data usage purposes - .minio.sys is updated to indicate if backend is encrypted or not.
This commit is contained in:
@@ -540,6 +540,9 @@ func iamPolicyName() string {
|
||||
}
|
||||
|
||||
func isWORMEnabled(bucket string) (Retention, bool) {
|
||||
if isMinioMetaBucketName(bucket) {
|
||||
return Retention{}, false
|
||||
}
|
||||
if globalWORMEnabled {
|
||||
return Retention{}, true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user