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

Do not prematurely disconnect no-op enabled dcp clients

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • Morpheus
    • 5.1.3, 5.5.2, 6.0.0
    • couchbase-bucket
    • None

    Description

      Filing this as a placeholder ticket based on the discussion on customer ticket.

      It would be better for dcp to account for the "last message sent" time in addition to the "last message received" before making a decision to disconnect. e.g. in the dcp disconnect message:

      2018-11-27T09:06:19.311489Z INFO (collageDev) DCP (Producer) eq_dcpq:secidx:proj-collageDev-INIT_STREAM_TOPIC_9dffc10e0a38e1404a6e02b7c4045849-17542624913530096817/3 - Disconnecting because a message has not been received for DCP idle timeout (which is360s). Sent last message 915s ago, received last message 915s ago. noopCtx {now - sendTime:917, opaque: 10000000, pendingRecv:false}
      

      In the scenario where KV-Engine was delayed in sending a DCP no-op request (e.g. due to scheduling issues); we shouldn't consider when we were supposed to send the NO-OP as when we start counting down NO-OP interval; only from when we actually attempt to send the NO-OP.

      Attachments

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

        Activity

          People

            owend Daniel Owen
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty