Mmuzaf commented on PR #3133: URL: https://github.com/apache/cassandra/pull/3133#issuecomment-2447823989
I think all the method calls like `getCapacity() != 0` and `getCapacity() == 0` should be replaced by a method in the DatabaseDescriptor class that is clear and easy to use whether a cache is enabled or not. We should avoid using `getCapacity` method to check such a condition. This is true for the trunk, 5.x, 4.x -- 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]

