priyeshkaratha opened a new pull request, #10554: URL: https://github.com/apache/ozone/pull/10554
## What changes were proposed in this pull request? During an SCM restart or a leader switch, the SCM defaults the summary value to 0. If a decrement operation happens on top of this unpersisted state, the value drops into the negative range. If the summary value is 0 or less during initializeDataDistribution, the system will fallback to iterating over the deletedTable to accurately recalculate the distribution, instead of relying on the potentially corrupted/unpersisted summary. ## What is the link to the Apache JIRA HDDS-15610 ## How was this patch tested? Tested using added unit test and integration test and validated in CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
