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

[BP to 6.0.5] - Exception when closing DCP stream

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      I have a DCP connection, shared by multiple streams/vbuckets. When closing a stream corresponding to one of the vbuckets, I see an exception from KV. This causes the whole connection to close. In the following trace, I am closing vb 30 with command DCP_CLOSESTREAM (opCode 0x52).

      [ns_server:info,2019-06-12T16:40:31.192-07:00,babysitter_of_n_0@127.0.0.1:<0.163.0>:ns_port_server:log:224]memcached<0.163.0>: 2019-06-12T16:40:30.991014-07:00 WARNING 53: (default) DCP (Producer) eq_dcpq:secidx:proj-default-MAINT_STREAM_TOPIC_48edb833194f79dfa8f8bc0c83fc6ce9-16420771875505599121/2 - (vb:30) Stream closing, sent until seqno 5 remaining items 0, reason: The stream closed early due to a close stream message
      memcached<0.163.0>: 2019-06-12T16:40:30.994203-07:00 WARNING 53: exception occurred in runloop during packet execution. Cookie info: [{"aiostat":"success","connection":"[ 10.100.172.144:52206 - 10.100.172.144:12000 (<ud>@projector</ud>) ]","engine_storage":"0x0000000114c99c18","ewouldblock":false,"packet":{"bodylen":4,"cas":0,"datatype":"raw","extlen":4,"keylen":0,"magic":"ClientRequest","opaque":0,"opcode":"DCP_BUFFER_ACKNOWLEDGEMENT","vbucket":0},"refcount":1}] - closing connection ([ 10.100.172.144:52206 - 10.100.172.144:12000 (<ud>@projector</ud>) ]): ThrowExceptionUnderflowPolicy current:359830 arg:359854
      memcached<0.163.0>: 2019-06-12T16:40:30.994245-07:00 WARNING 53: (default) DCP (Producer) eq_dcpq:secidx:proj-default-MAINT_STREAM_TOPIC_48edb833194f79dfa8f8bc0c83fc6ce9-16420771875505599121/2 - (vb:2) Stream closing, sent until seqno 3 remaining items 0, reason: The stream closed early because the conn was disconnected
      memcached<0.163.0>: 2019-06-12T16:40:30.994257-07:00 WARNING 53: (default) DCP (Producer) eq_dcpq:secidx:proj-default-MAINT_STREAM_TOPIC_48edb833194f79dfa8f8bc0c83fc6ce9-16420771875505599121/2 - (vb:642) Stream closing, sent until seqno 6 remaining items 0, reason: The stream closed early because the conn was disconnected
      

      Attachments

        Issue Links

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

          Activity

            People

              varun.velamuri Varun Velamuri
              varun.velamuri Varun Velamuri
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty