adoroszlai opened a new pull request, #4834: URL: https://github.com/apache/ozone/pull/4834
## What changes were proposed in this pull request? Avoid unnecessary `BufferPool` creation for EC reconstruction flow: ``` // TODO: Let's avoid unnecessary bufferPool creation. This pool actually // not used in EC flows, but there are some dependencies on buffer pool. ``` Use an empty singleton `BufferPool` for that. Also, convert some validation checks to real preconditions in `BufferPool` (i.e. perform the check before changing state, not afterwards). https://issues.apache.org/jira/browse/HDDS-8766 ## How was this patch tested? Existing tests: https://github.com/adoroszlai/hadoop-ozone/actions/runs/5186666728 -- 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]
