You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/29 16:26:20 UTC
[PR] [ISSUE #2777] fix(lite-topic): handle negative quota counters [rocketmq-dashboard]
yuluo-yx opened a new pull request, #2796:
URL: https://github.com/apache/rocketmq-dashboard/pull/2796
## Summary
- normalize negative current topic and session counters to zero
- avoid remaining-quota overflow for extreme negative values
- cover Integer.MIN_VALUE and negative session counts
## Verification
- mise x java@temurin-21 -- mvn -Dtest=LiteTopicQuotaTest test: 5 tests passed
- Checkstyle passed
- scope check: 20 changed lines
Fixes #2777
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #2777] fix(lite-topic): handle negative quota counters [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on PR #2796:
URL: https://github.com/apache/rocketmq-dashboard/pull/2796#issuecomment-5477556904
Closing: these patches defend against inputs that cannot occur (e.g., JSON payloads cannot carry NaN/Infinity, and backend-produced fields do not contain stray whitespace). The linked issues were self-filed minutes before the PRs were opened. If you have observed a real defect, please provide reproduction steps or logs, and submit one cohesive PR per functional domain. See the maintainer note on #2724.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #2777] fix(lite-topic): handle negative quota counters [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #2796: [ISSUE #2777] fix(lite-topic): handle negative quota counters
URL: https://github.com/apache/rocketmq-dashboard/pull/2796
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org