You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/12/24 09:39:33 UTC
[GitHub] [rocketmq] LvChenhui opened a new issue #3673: resetOffsetByTimestampOld topicRouteMap maintain the error relationship
LvChenhui opened a new issue #3673:
URL: https://github.com/apache/rocketmq/issues/3673
when we use method resetOffsetByTimestampMillis to reset offset,at the same time,our consumer not online,actual use method resetOffsetByTimestampOld. **topicRouteMap** store the relationship between brokerAddr and readQueueNums,but
in the following code,the latter readQueueNumber will cover the former.
```
TopicRouteData topicRouteData = this.examineTopicRouteInfo(topic);
List<RollbackStats> rollbackStatsList = new ArrayList<RollbackStats>();
Map<String, Integer> topicRouteMap = new HashMap<String, Integer>();
for (BrokerData bd : topicRouteData.getBrokerDatas()) {
for (QueueData queueData : topicRouteData.getQueueDatas()) {
topicRouteMap.put(bd.selectBrokerAddr(), queueData.getReadQueueNums());
}
}
```
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] Git-Yang closed issue #3673: resetOffsetByTimestampOld topicRouteMap maintain the error relationship
Posted by GitBox <gi...@apache.org>.
Git-Yang closed issue #3673:
URL: https://github.com/apache/rocketmq/issues/3673
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] Git-Yang commented on issue #3673: resetOffsetByTimestampOld topicRouteMap maintain the error relationship
Posted by GitBox <gi...@apache.org>.
Git-Yang commented on issue #3673:
URL: https://github.com/apache/rocketmq/issues/3673#issuecomment-1004506563
Merged
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org