Skip to content

Conversation

@priyeshkaratha
Copy link
Contributor

What changes were proposed in this pull request?

In the deleteBlock request, the OM now sends both the blockSize and blockID to the SCM. Since this introduces a change in the request format, it may lead to compatibility issues during upgrades.

To handle this, multiple checks have been added based on the feature finalization state. The system dynamically selects the appropriate logic depending on whether the feature is finalized or not.

We have decided to proceed with the new request format. If the SCM receives a request in the old format, it will be rejected at the server-side Protobuf translator layer. As a result, block deletion operations will not be supported during upgrade scenarios.

What is the link to the Apache JIRA

HDDS-13852

How was this patch tested?

Tested with CI

@priyeshkaratha priyeshkaratha marked this pull request as ready for review October 30, 2025 04:36
@priyeshkaratha
Copy link
Contributor Author

@ChenSammi @sumitagrawl can you review the code changes?

@priyeshkaratha
Copy link
Contributor Author

closing this PR since the approach for passing size info changed and handled as part of #9246

@adoroszlai
Copy link
Contributor

@priyeshkaratha can you please also resolve the Jira issue, if no longer planned to be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants