taklwu commented on PR #11251: URL: https://github.com/apache/ozone/pull/11251#issuecomment-5765743779
> One follow-up worth considering: override `available()` with the same monitor as `getPos()` / positioned reads — inherited `CryptoInputStream.available()` can reflect the temporary seek during a positioned read if something calls it concurrently. added synchronized to `available()` -- 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]
