Skip to content

HDDS-14670. SCM should not finalize unless it is out of safemode#9974

Open
sodonnel wants to merge 1 commit intoapache:HDDS-14496-zdufrom
sodonnel:HDDS-14670-safemode
Open

HDDS-14670. SCM should not finalize unless it is out of safemode#9974
sodonnel wants to merge 1 commit intoapache:HDDS-14496-zdufrom
sodonnel:HDDS-14670-safemode

Conversation

@sodonnel
Copy link
Contributor

What changes were proposed in this pull request?

This change just adds a safemode check in the FinalizationManagerImpl for SCM so that if an attempt to finalize from the CLI is made, it will error if safemode is enabled.

What is the link to the Apache JIRA

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

How was this patch tested?

New unit tests added to validate the command fails with safemode on. Existing tests to ensure this does not break anything existing.

@github-actions github-actions bot added the zdu Pull requests for Zero Downtime Upgrade (ZDU) https://issues.apache.org/jira/browse/HDDS-14496 label Mar 25, 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