szetszwo commented on PR #11446: URL: https://github.com/apache/ozone/pull/11446#issuecomment-6199907219
> ... do you have any idea that if we can refactor setEndIndex so we dont need additional flag for pollAll Sorry, I don't get the question. Having a isEmpty flag seems good -- for write, we expect that it must have some data to write; for drain, it could be empty. -- 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]
