You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "peterxcli (via GitHub)" <gi...@apache.org> on 2026/10/01 06:17:07 UTC
Re: [PR] HDDS-16396. Standardize positioned-read APIs across client streams [ozone]
peterxcli commented on PR #11348:
URL: https://github.com/apache/ozone/pull/11348#issuecomment-5925860609
Added clarifications in [b81b346fdf](https://github.com/apache/ozone/commit/b81b346fdf177955a90e73c7a16296b241c91c60):
- Empty reads return `0`, including at EOF; nonempty reads at EOF return `-1`.
- The EC proxy owns independent positioned reads. Its internal readers own mutable cursor/decoding state and therefore report `PREADBYTEBUFFER=false`.
- Comments now explain why encrypted positioned reads need no synchronization, how wrappers check delegate support, and why concurrent test offsets are spread across the source.
This commit only changes comments. I also checked the exception handling against Hadoop 3.4.3; no exception-type changes were needed. All 62 focused tests and checkstyle passed.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org