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

STREAM_REQUEST "lost" by DcpProducer during replication stream setup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 6.6.2
    • couchbase-bucket
    • None
    • Untriaged
    • 1
    • Unknown
    • KV-Engine Sprint 2021 August, KV-Engine-Sept-21, KV 2021-Oct-21

    Description

      This ticket is being spun out of a customer issue where we see

      Disconnecting because a message has not been received for the DCP idle timeout of 360s. Received last message (e.g. mutation/noop/StreamEnd) 361s ago. DCP noop interval is 1s.
      

      This is originated from the consumer side of the connection.

      Unfortunately because the connection has been closed we do not have any detailed information on the connection at the time it stopped responding.

      However it is assumed that the producer was in a paused state and was not woken-up.

      In addition to the customer issue, we believe the issue may also have appeared in MB-42115. Where we also see a DCP idle - causing a disconnect.
      In that case we are also disconnected from the consumer

      2020-10-16T02:34:49.507127-07:00 INFO 71: (default) DCP (Consumer) eq_dcpq:replication:ns_1@172.23.105.159->ns_1@172.23.105.206:default - Disconnecting because a message has not been received for the DCP idle timeout of 360s. Received last message (e.g. mutation/noop/StreamEnd) 361s ago. DCP noop interval is 1s.
      

      It was originally thought that the reason was due to the consumer being OOM snd therefore not responding to the producer. However when a connection is paused then the ConnManager task should run every X seconds and send a Noop (and there’s no mem check in that area)

      Attachments

        Issue Links

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

          Activity

            People

              owend Daniel Owen
              owend Daniel Owen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty