Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18625 No checkpoint items are to be added to a stream's readyQ if the stream was forcefully closed
  3. MB-21510

[BP 3.x] No checkpoint items are to be added to a stream's readyQ if the stream was forcefully closed

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Major
    • 3.1.6
    • 3.1.4, 4.1.2
    • couchbase-bucket
    • None

    Description

      [Cloned from MB-18625 for backport into 3.1.6].

      After a stream has been marked as dead, a streamEnd message is added into the readyQ, after this point no other mutation/deletion/marker is to be added into the readyQ.

      A race between closeStream/closeSlowStream and the active stream's nextCheckpointTask could cause this scenario, where mutations/deletions and a marker can get added to the readyQ for the stream, after a STREAM_END has been queued.

      This is to avoid shipping unnecessary items after a stop request has been issued for a stream.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jwalker Jim Walker
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty