RockteMQ-AI commented on issue #2535: URL: https://github.com/apache/rocketmq-dashboard/issues/2535#issuecomment-5378368552
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The reported issue has been verified. The inconsistent handling of null/non-positive maxima in `LiteTopicQuota` creates contradictory quota state: - `isQuotaExceeded()` treats `maxTopicCount = 0` as exceeded for any non-negative count - Rate calculations treat unset maximum as unavailable - Negative limits produce negative usage rates **Root Cause:** Inconsistent validation logic in quota state computation **Impact:** Dashboard quota display and rate calculations **Severity:** medium This is a valid bug that should be fixed. The suggested verification approach (testing null, zero, negative, below/at/over-limit inputs) is appropriate. --- *Automated evaluation by github-manager-bot* -- 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]
