Skip to content

HDDS-14377. Refactor OmLifecycleConfiguration#Builder#9688

Open
YutaLin wants to merge 2 commits intoapache:HDDS-8342from
YutaLin:HDDS-14377
Open

HDDS-14377. Refactor OmLifecycleConfiguration#Builder#9688
YutaLin wants to merge 2 commits intoapache:HDDS-8342from
YutaLin:HDDS-14377

Conversation

@YutaLin
Copy link
Contributor

@YutaLin YutaLin commented Jan 29, 2026

What changes were proposed in this pull request?

In master branch, WithObjectID#Builder is refactored to have validate(), buildObject() and build(), and build() is final.

After merge with master branch, OmLifecycleConfiguration#Builder, buildObject() and buildAndValid() look not consistent with WithObjectID#Builder style. Let's refactor the OmLifecycleConfiguration#Builder so that build() can be called to replace current buildObject() and buildAndValid().

What is the link to the Apache JIRA

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

How was this patch tested?

workflow run: https://github.com/YutaLin/ozone/actions/runs/21461412215

@YutaLin
Copy link
Contributor Author

YutaLin commented Jan 30, 2026

Hi @ChenSammi, can you help me take a look? thanks!

@chungen0126 chungen0126 requested review from ChenSammi, chungen0126, ivandika3 and xichen01 and removed request for ChenSammi February 2, 2026 15:35
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.

1 participant