[
https://issues.apache.org/jira/browse/HDDS-10181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-10181:
-------------------------------
Description:
It's observed that the serialization (toProtobuf) and deserialization
(fromProtobuf) of OmPrefixInfo uses OzoneAclStorageUtil, whereas OmKeyInfo,
OmBucketInfo, OmVolumeArgs uses OzoneAclUtil. The logic for both classes looks
the same.
There are also duplicate proto definitions for OzoneAclInfo in
OmStorageProtocol.proto and OmClientProtocol.proto.
We need to remove the duplication to prevent any divergence.
was:
It's observed that the serialization (toProtobuf) and deserialization
(fromProtobuf) of OmPrefixInfo uses OzoneAclStorageUtil, whereas OmKeyInfo,
OmBucketInfo, OmVolumeArgs uses OzoneAclUtil.
There are also duplicate proto definitions for OzoneAclInfo in
OmStorageProtocol.proto and OmClientProtocol.proto.
We need to remove the duplication to prevent any divergence.
> Remove duplicate ACL protobuf definitions in OmPrefixInfo
> ---------------------------------------------------------
>
> Key: HDDS-10181
> URL: https://issues.apache.org/jira/browse/HDDS-10181
> Project: Apache Ozone
> Issue Type: Improvement
> Components: OM
> Affects Versions: 1.4.0
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
> Fix For: 1.5.0
>
>
> It's observed that the serialization (toProtobuf) and deserialization
> (fromProtobuf) of OmPrefixInfo uses OzoneAclStorageUtil, whereas OmKeyInfo,
> OmBucketInfo, OmVolumeArgs uses OzoneAclUtil. The logic for both classes
> looks the same.
> There are also duplicate proto definitions for OzoneAclInfo in
> OmStorageProtocol.proto and OmClientProtocol.proto.
> We need to remove the duplication to prevent any divergence.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]