Skip to content

Conversation

@priyeshkaratha
Copy link
Contributor

What changes were proposed in this pull request?

In the DataNode, we currently have only the totalBlockSize field, which is optional. When reading this value and storing the total bytes for a container in metadata, it is maintained as a simple key-value entry. Therefore, this change does not affect the reading of older data and ensures full backward compatibility.

So removing the feature finalisation checks used.

What is the link to the Apache JIRA

HDDS-13853

How was this patch tested?

Tested using 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

As per discussion, there may be inconsistencies in counters if we do upgrade -> not finalize -> downgrade -> upgrade -> finalize. So the idea is go ahead with layout based approach in SCM and DN. So closing this PR.

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