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 2020/03/08 01:32:17 UTC

[GitHub] [rocketmq] xujianhai666 opened a new issue #1825: offset will be reset t minOffset when pul l message orderly

xujianhai666 opened a new issue #1825: offset will be reset t minOffset when pul l message orderly
URL: https://github.com/apache/rocketmq/issues/1825
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   offset has been reset when broker restart. consumer pull offset when rebalance firstly, but will computePullFromWhere again when pullRequest is lock firstly, which will failed and return -1 that cause broker cal min offset and return data to client.
   
   pull offset again logic is below 
   ![image](https://user-images.githubusercontent.com/52450794/76145820-47a5df00-60c8-11ea-81cd-b358ba37ab1b.png)
   
   broker correct offset below 
   ![image](https://user-images.githubusercontent.com/52450794/76154926-9c287900-611f-11ea-8fd5-44a4de4f7fdb.png)
   
   
   - What did you do (The steps to reproduce)?
   
   
   - What did you expect to see?
   consumer should read from latest commited offset
   
   
   - What did you see instead?
   consumer read from minoffset
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services