Skip to content

The request offset will not be updated when pull message from slave. #843

@cserwen

Description

@cserwen

BUG REPORT

  1. Please describe the issue you observed:

    • What did you do (The steps to reproduce)?
      Client consumes message form slave broker. When commitLog was removed, It will return ResPullRetryImmediately and suggest client pull form master to correct the request offset. But client still pulls from slave and offset is not changed.

    • What did you expect to see?
      The request offset should be min offset of queue.

    • What did you see instead?
      The request offset is not changed.

  2. Please tell us about your environment:

    • What is your OS?

    • What is your client version?

    • What is your RocketMQ version?

  3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
    In java client will update the request node firstly.
    image

But client only updates request node when pullFound in go.
image
So if the pull request returns PullNoMsgMatched , client will not request master to update offset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions