adoroszlai opened a new pull request #2058: URL: https://github.com/apache/ozone/pull/2058
## What changes were proposed in this pull request? Currently DN reserves a byte buffer for client's chunk read request based on whatever client specifies, without check. Client can send a message forcing DN to allocate up to 2GB memory per request. This change makes DN reject read requests if chunk length specified by client is over the maximum allowed chunk size (32MB). Normally this should not happen, as chunk info is fetched before read from the server. https://issues.apache.org/jira/browse/HDDS-4993 ## How was this patch tested? Added unit test. https://github.com/adoroszlai/hadoop-ozone/actions/runs/664486050 -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
