lizhanhui commented on code in PR #5181:
URL: https://github.com/apache/rocketmq/pull/5181#discussion_r978551431
##########
client/src/main/java/org/apache/rocketmq/client/common/ThreadLocalIndex.java:
##########
@@ -28,7 +28,6 @@ public int incrementAndGet() {
Integer index = this.threadLocalIndex.get();
if (null == index) {
index = random.nextInt();
- this.threadLocalIndex.set(index);
Review Comment:
Why delete this line?
--
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]