Uploaded image for project: 'Apache Gearpump'
  1. Apache Gearpump
  2. GEARPUMP-359

The premature OutputWatermark advancing logic in Subscription is not right

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.5
    • None
    • None

    Description

      Subscription will update processingWatermark when sending a message and update outputWatermark when receiving an Ack message. It will cause prematurely updating the outputWatermark in such scenario: the Subscription already sent 200 messages to downstream and now the processingWatermark is 200th message's watermark, then it receives the first 100 messages' Ack and it will advance the outputWatermark to 200th message's watermark, not the 100th one, which is wrong.

      Attachments

        Issue Links

          Activity

            People

              HuafengWang Huafeng Wang
              HuafengWang Huafeng Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: