Skip to content

HDDS-14170. No need to copy BucketEncryptionKeyInfo and DefaultReplicationConfig#9531

Merged
adoroszlai merged 1 commit intoapache:masterfrom
Russole:HDDS-14170
Dec 19, 2025
Merged

HDDS-14170. No need to copy BucketEncryptionKeyInfo and DefaultReplicationConfig#9531
adoroszlai merged 1 commit intoapache:masterfrom
Russole:HDDS-14170

Conversation

@Russole
Copy link
Copy Markdown
Contributor

@Russole Russole commented Dec 19, 2025

What changes were proposed in this pull request?

  • Simplified OmBucketInfo#copyObject() to rely on toBuilder().build()
  • Removed unnecessary copy() methods from immutable classes
  • Marked BucketEncryptionKeyInfo as immutable and added equals() / hashCode()

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-14170

How was this patch tested?

All CI checks passed.

@adoroszlai adoroszlai merged commit 43a0a06 into apache:master Dec 19, 2025
43 checks passed
@adoroszlai
Copy link
Copy Markdown
Contributor

Thanks @Russole for the patch.

echonesis pushed a commit to echonesis/ozone that referenced this pull request Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants