btlqql opened a new pull request, #2537: URL: https://github.com/apache/rocketmq-dashboard/pull/2537
## Summary - treat null, zero, and negative LiteTopic maxima as unavailable - keep usage, remaining-quota, and exceeded calculations consistent - cover unavailable, below-limit, at-limit, and over-limit states ## Why The rate helpers already treat a zero maximum as unavailable, but `isQuotaExceeded()` reported every non-negative count as exceeded when the maximum was zero. The model therefore exposed contradictory computed quota state. ## Validation - `mvn -q -Dtest=LiteTopicQuotaTest test` - `mvn -q -DskipTests package` - `git diff --check` Fixes #2535 -- 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]
