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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 3.1.4, 4.1.2
    • couchbase-bucket
    • None
    • Untriaged
    • Unknown

    Description

      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

            drigby Dave Rigby (Inactive)
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty