You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2025/11/12 09:07:00 UTC

[jira] [Created] (HDDS-13916) Remove setModificationTime and setOwner from OmBucketInfo

Attila Doroszlai created HDDS-13916:
---------------------------------------

             Summary: Remove setModificationTime and setOwner from OmBucketInfo
                 Key: HDDS-13916
                 URL: https://issues.apache.org/jira/browse/HDDS-13916
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Attila Doroszlai
            Assignee: Chen-Jheng Sing


- Change {{OMBucketSetOwnerRequest}} and {{OMKeyRenameRequestWithFSO}} to not modify {{OmBucketInfo}} in place.  Instead, convert the object to a builder via {{OmBucketInfo.toBuilder()}}, set the updated properties on the builder, then builld new {{OmBucketInfo}} instance.
- Remove {{setModificationTime}} and {{setOwner}} from {{OmBucketInfo}}.
- Change {{owner}} and {{modificationTime}} in {{OmBucketInfo}} to be {{final}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org