Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-210

Logic Error in ConsumeMessageOrderlyService#checkReconsumeTimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.0-incubating, 4.1.0-incubating, 4.2.0, 4.3.0
    • None
    • rocketmq-client
    • None
    • All Environments

    Description

      According to the retry logic, the code "if (msg.getReconsumeTimes() >= getMaxReconsumeTimes())" should be changed to "if (msg.getReconsumeTimes() < getMaxReconsumeTimes())"

      Attachments

        Activity

          People

            vintagewang Xiaorui Wang
            binzhaomobile binzhaomobile
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: