Skip to content

HDDS-14712. Rename DatanodeVersion to HDDSVersion#9822

Merged
sodonnel merged 1 commit intoapache:HDDS-14496-zdufrom
errose28:HDDS-14712-rename-dn-version
Feb 26, 2026
Merged

HDDS-14712. Rename DatanodeVersion to HDDSVersion#9822
sodonnel merged 1 commit intoapache:HDDS-14496-zdufrom
errose28:HDDS-14712-rename-dn-version

Conversation

@errose28
Copy link
Contributor

@errose28 errose28 commented Feb 24, 2026

What changes were proposed in this pull request?

In the current code, Datanodes use their own DatanodeComponentVersion and there is no ScmComponentVersion. However, Datanodes and SCM share the same HDDSLayoutFeature for disk versioning. We need to collapse these into a single HDDSVersion in the new versioning framework. The existing DatanodeVersion can simply be renamed to HDDSVersion , since there is no ScmVersion to merge it with.

What is the link to the Apache JIRA

HDDS-14712

How was this patch tested?

All existing tests should pass since no functional change is expected. Green on my fork.

All serialization and functionality remains identical
@github-actions github-actions bot added the zdu Pull requests for Zero Downtime Upgrade (ZDU) https://issues.apache.org/jira/browse/HDDS-14496 label Feb 24, 2026
Copy link
Contributor

@dombizita dombizita left a comment

Choose a reason for hiding this comment

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

Looks good to me @errose28!

@dombizita dombizita marked this pull request as ready for review February 26, 2026 13:56
@sodonnel sodonnel merged commit 90ad60d into apache:HDDS-14496-zdu Feb 26, 2026
88 of 98 checks passed
errose28 added a commit to errose28/ozone that referenced this pull request Feb 26, 2026
* HDDS-14496-zdu:
  HDDS-14712. Rename DatanodeVersion to HDDSVersion (apache#9822)
  HDDS-14646. SCM should not close Ratis pipelines on Finalize (apache#9779)
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.

3 participants