Skip to content

HDDS-14377. Refactor OmLifecycleConfiguration#Builder#9688

Merged
ChenSammi merged 3 commits intoapache:HDDS-8342from
YutaLin:HDDS-14377
Feb 12, 2026
Merged

HDDS-14377. Refactor OmLifecycleConfiguration#Builder#9688
ChenSammi merged 3 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
@YutaLin YutaLin requested a review from ChenSammi February 11, 2026 16:36
Copy link
Contributor

@ChenSammi ChenSammi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last patch looks good to me, +1. Wait for the CI to pass.

Thanks @YutaLin .

@ChenSammi ChenSammi merged commit 9497477 into apache:HDDS-8342 Feb 12, 2026
43 checks passed
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