XiaoyiPeng commented on PR #4350:
URL: https://github.com/apache/rocketmq/pull/4350#issuecomment-1153506857
> I think it would be better to change `ThreadLocalIndex#incrementAndGet()`:
if `index` reaches `Integer.MAX_VALUE`, set it to 0 instead of incrementing it.
OK, Thanks for your review,sir.
I will check whether this solution is compatible with the current usage of
`ThreadLocalIndex#incrementAndGet() `.
--
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]