Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Reduce copying of maps in OmKeyArgs:

  • inherit metadata map from WithMetadata and its builder
  • use MapBuilder for tags in OmKeyArgs.Builder

Since metadata is now immutable, change BlockOutputStreamEntryPool and BlockDataStreamOutputEntryPool to keep an OmKeyArgs.Builder instead of OmKeyArgs.

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

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/20959833882

@adoroszlai adoroszlai self-assigned this Jan 13, 2026
@adoroszlai
Copy link
Contributor Author

CC @Russole

@Russole
Copy link
Contributor

Russole commented Jan 13, 2026

@adoroszlai Thanks for the ping and for picking this up.
I was blocked by the unit test failures longer than expected and appreciate you stepping in to resolve it.

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