weimingdiit opened a new pull request, #9892: URL: https://github.com/apache/ozone/pull/9892
## What changes were proposed in this pull request? Avoid checking VersionedDatanodeFeatures.isFinalized(HBASE_SUPPORT) on every putBlock request. Cache the finalized state in BlockManagerImpl, and once finalization is observed, reuse the cached value for subsequent requests. - Keep existing behavior before finalization: partial chunk list requests are rejected with UNSUPPORTED_REQUEST. - Add a unit test to verify the finalization status is cached after it is first detected as finalized. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-14591 ## How was this patch tested? unit tests -- 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]
