[
https://issues.apache.org/jira/browse/HDDS-14169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18049112#comment-18049112
]
Chen-Jheng Sing commented on HDDS-14169:
----------------------------------------
[~adoroszlai], Thanks for checking in.
I started working on this, but although the code change itself is small, it
affects quite a few existing tests across modules. I’m currently analyzing the
impact and figuring out the minimal and safest way to proceed without
introducing regressions.
I’ll update the issue once I have a clearer plan (possibly splitting the work
if needed).
> Reduce copying of maps in OmKeyArgs
> -----------------------------------
>
> Key: HDDS-14169
> URL: https://issues.apache.org/jira/browse/HDDS-14169
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: common
> Reporter: Attila Doroszlai
> Assignee: Chen-Jheng Sing
> Priority: Major
> Labels: GoodForNewContributors
>
> - Inherit {{metadata}} map from {{WithMetadata}} and its builder
> - Use {{MapBuilder}} for {{tags}} in {{OmKeyArgs.Builder}} (see example
> {{MapBuilder}} usage in {{WithMetadata}})
> - Change {{OmKeyArgs#tags}} to {{ImmutableMap}} and make it {{final}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]