taklwu opened a new pull request, #11245: URL: https://github.com/apache/ozone/pull/11245
…am and ECBlockInputStream ## What changes were proposed in this pull request? followup by HDDS-15424, we have created HDDS-16400 that implements the thread-safe positional read for OzoneCryptoInputStream and ECBlockInputStream. Please describe your PR in detail: 1. OzoneCryptoInputStream itself is not an ExtendedInputStream, so we add the synchronized lock for positional read. 2. ECBlockInputStream#readFully return false (use the default ExtendedInputStream#readFully), so it fail back to use the new additional synchronized lock for readSeekRestore. ## What is the link to the Apache JIRA - https://issues.apache.org/jira/browse/HDDS-16400 ## 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]
