horizonzy commented on PR #15098:
URL: https://github.com/apache/pulsar/pull/15098#issuecomment-1094204852

   > Overall LGTM, but i have a question: Could we check for an `OpReadEntry` 
earlier (to avoid creating useless objects) or throw an exception (to achieve 
fail fast) when creating it? Please let me know what you think, thanks~
   
   yep, I have thought it, but it's not atomic, it need user make invalid 
outside. This way more secure.


-- 
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]

Reply via email to