Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-17273

New Consumer stream parameters for a vbucket is built before the existing stream for that vbucket is fully closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.1.0, 4.5.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • Triaged
    • Unknown

    Description

      Ep-engine is building parameters for new stream (and perhaps creating as well) when the existing stream (in the same or another consumer connection) for that vbucket is still around and the items in that stream is being processed. When the existing stream is being closed, the stream is set to dead state and then the items in the stream is cleared. There is a small window between the stream being set to dead state and the items being cleared, where a new stream parameters are built and hence wrong snapstart seqno and start seqno is sent to producer in the stream request.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-17273
          # Subject Branch Project Status CR V

          Activity

            People

              ericcooper Eric Cooper (Inactive)
              manu Manu Dhundi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty