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

Acknowledging too many bytes in DCP connection.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Cheshire-Cat
    • analytics
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Looking at the logs from MB-43230 we can see that cbas is providing the wrong number of bytes in the DCP ack causing KV to underflow.

      e.g. on node 172.23.96.48 we are seeing

      2020-12-10T15:12:49.913356-08:00 WARNING (WAREHOUSE) DCP (Producer) eq_dcpq:cbas:Default.Local:WAREHOUSE:9cfc48ea9d162fa22f381d1fc53903f8:11 - Attempting to release 26272 bytes which is greater than bytesOutstanding:26269
      2020-12-10T15:12:49.913483-08:00 WARNING 558: exception occurred in runloop during packet execution. Closing connection: ThrowExceptionUnderflowPolicy current:26269 arg:26272. Cookies: [{"aiostat":"success","connection":"[ {\"ip\":\"172.23.120.75\",\"port\":48828} - {\"ip\":\"172.23.96.48\",\"port\":11210} (<ud>@cbas</ud>) ]","engine_storage":"0x0000000000000000","ewouldblock":false,"packet":{"bodylen":4,"cas":0,"datatype":"raw","extlen":4,"key":"<ud></ud>","keylen":0,"magic":"ClientRequest","opaque":0,"opcode":"DCP_BUFFER_ACKNOWLEDGEMENT","vbucket":0},"refcount":1}]
      

      Attachments

        Issue Links

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

          Activity

            People

              till Till Westmann
              owend Daniel Owen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty