Skip to content

HDDS-16374. Use the datanode-specific block deletion interval during reconfiguration - #11193

Open
shuan1026 wants to merge 2 commits into
apache:masterfrom
shuan1026:HDDS-16374
Open

HDDS-16374. Use the datanode-specific block deletion interval during reconfiguration#11193
shuan1026 wants to merge 2 commits into
apache:masterfrom
shuan1026:HDDS-16374

Conversation

@shuan1026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Datanode BlockDeletingService starts from hdds.datanode.block.deleting.service.interval, but updateAndRestart reread ozone.block.deleting.service.interval (OM's key). HDDS-11513 wired the reconfig path to the shared key after HDDS-4367 had split them. Details are on the Jira.

This patch uses the datanode-specific key on every path:

  • Mark hdds.datanode.block.deleting.service.interval as reconfigurable = true and register it via register(dnConf).
  • updateAndRestart reads DatanodeConfiguration.getBlockDeletionInterval() in milliseconds, same as startup.
  • Remove the DataNode registration of ozone.block.deleting.service.interval. Timeout / workers and OM's shared key are unchanged.
  • Reconfigurability.md is updated to match the change.

What is the link to the Apache JIRA

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

How was this patch tested?

shuan1026 and others added 2 commits September 2, 2026 21:59
…nfiguration

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@shuan1026
shuan1026 marked this pull request as ready for review September 2, 2026 16:26

@chihsuan chihsuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this! @shuan1026 The change looks good to me.

I noticed that apache/ozone-site still lists the old key, so it may be worth creating a follow-up for it.

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