Skip to content

HDDS-16024. Make OM and SCM proto finalization status an enum - #10902

Draft
errose28 wants to merge 1 commit into
apache:HDDS-14496-zdufrom
errose28:worktree/finalization-status-enum
Draft

HDDS-16024. Make OM and SCM proto finalization status an enum#10902
errose28 wants to merge 1 commit into
apache:HDDS-14496-zdufrom
errose28:worktree/finalization-status-enum

Conversation

@errose28

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Use enum instead of boolean to indicate finalization status from SCM and OM to Clients. This allows us to use more descriptive states like "pending" status when OM is waiting for HDDS to finalize, and "in progress" when only some datanodes are finalized. It also allows more states to be added in the future if needed.

What is the link to the Apache JIRA

HDDS-16024

How was this patch tested?

  • Existing unit and integration tests updated
  • New tests added for intermediate enum states

@errose28
errose28 requested a review from dombizita July 30, 2026 00:12
@errose28 errose28 added the zdu Pull requests for Zero Downtime Upgrade (ZDU) https://issues.apache.org/jira/browse/HDDS-14496 label Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

zdu Pull requests for Zero Downtime Upgrade (ZDU) https://issues.apache.org/jira/browse/HDDS-14496

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant