Skip to content

HDDS-11765. ContainerChecksumTreeManager to handle missed block deletions from the deleted block ids#9855

Open
hevinhsu wants to merge 1 commit intoapache:masterfrom
hevinhsu:HDDS-11765
Open

HDDS-11765. ContainerChecksumTreeManager to handle missed block deletions from the deleted block ids#9855
hevinhsu wants to merge 1 commit intoapache:masterfrom
hevinhsu:HDDS-11765

Conversation

@hevinhsu
Copy link
Contributor

@hevinhsu hevinhsu commented Mar 2, 2026

What changes were proposed in this pull request?

ContainerChecksumTreeManager to handle missed block deletions from the deleted block ids.

Please describe your PR in detail:
During reconciliation with a peer, if deleted blocks are present on the peer but still exist locally, those blocks are deleted locally as well. This addresses cases where replicas may miss block delete transactions from SCM.

  • Introduce a deleteBlockForReconciliation method that invokes existing APIs (deleteBlock, deleteUnreferenced) to perform physical deletion and remove related metadata from RocksDB when necessary.
  • Add unit and integration tests.
  • Generated-by: GitHub Copilot with Claude Opus 4.6 (with manual tweaks)

What is the link to the Apache JIRA

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

How was this patch tested?

https://github.com/hevinhsu/ozone/actions/runs/22558617239

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.

1 participant