lhotari commented on PR #21790: URL: https://github.com/apache/pulsar/pull/21790#issuecomment-1869402727
> Maybe modify the method `tryReserveMemory` and `forceReserveMemory` like below is better? I think it's not a good idea. It's better to add validation and throw IllegalArgumentException if the value is negative -- 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]
