wenbingshen commented on PR #21790: URL: https://github.com/apache/pulsar/pull/21790#issuecomment-1869426865
> > @lhotari Good idea! I think we can add validation that the value is negative and throw an IllegalArgumentException by submitting another PR. > > At least, we should add a WARN log when calling `tryReserveMemory/forceReserveMemory` with a negative value I will add an assert after later. -- 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]
