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

Provide a way so that DCP can be started from "now" without needing to query the server.

    XMLWordPrintable

Details

    • 1
    • KV Post-Neo (April)

    Description

      A discussion with the connectors revealed that they need to start DCP from "now". To do this they are dependent upon using "GetAllVbSeqnos" to retrieve sequence numbers to use as the start-seqno in stream-requests.

      DCP stream-request already provides a mechanism that allows for a DCP stream to end "now" using flag 0x4

      0x04 (Latest) - Specifies that the server should stream all mutations up to the current sequence number for that VBucket. The server will overwrite the value of the end sequence number field with the value of the latest sequence number.

      Having an equivalent, but for "start=now" would be a useful addition and remove the need for connectors to use GetAllVBSeqnos just to start a stream.

      Attachments

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

        Activity

          People

            jwalker Jim Walker
            jwalker Jim Walker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty