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

DCP BufferLog Acked / sent bytes mismatch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • couchbase-bucket
    • None
    • Untriaged
    • Unknown

    Description

      As seen during investigation of MB-27769, ackedBytes is sometimes larger than the total number of outstanding bytes. Examples from a number of DCP consumers (note .41 is the producer):

      Replication Stream

      DCP Producer to .105.63:

      2018-02-06T20:29:09.206543Z INFO 175: HELO [proxy] XATTR, Snappy [ 172.23.105.63:57106 - 172.23.104.41:11209 (<ud>@ns_server</ud>) ]
      2018-02-06T20:29:09.206961Z INFO 175: DCP connection opened successfully. flags:{INCLUDE_XATTRS } [ 172.23.105.63:57106 - 172.23.104.41:11209 (<ud>@ns_server</ud>) ]
      ...
      2018-02-06T20:34:05.233500Z WARNING 175: exception occurred in runloop - closing connection: DcpProducer::BufferLog: attempting to release 662031 bytes which is greater than 661888
      

      Secondary Index

      DCP Producer to 104.41:

      2018-02-06T20:35:15.991345Z INFO 81: DCP connection opened successfully. flags:{INCLUDE_XATTRS } [ 172.23.104.41:39745 - 172.23.104.41:11210 (<ud>@projector</ud>) ]
      2018-02-06T20:35:16.256281Z INFO 81: (default) DCP (Producer) eq_dcpq:secidx:proj-default-MAINT_STREAM_TOPIC_bb839c0774b4031d9782050b0a1d7656-14610570912135243192/1 - (vb 1) Creating stream with start seqno 2049 and end seqno 18446744073709551615; requested end seqno was 18446744073709551615
      ...
      2018-02-06T20:36:24.709434Z WARNING 81: exception occurred in runloop - closing connection: DcpProducer::BufferLog: attempting to release 4194516 bytes which is greater than 4193484
      

      XDCR

      2018-02-06T20:43:02.889108Z INFO 81: HELO [Goxdcr Dcp  SourceBucket:default TargetBucket:remote] TCP nodelay [ 172.23.104.41:42532 - 172.23.104.41:11210 (<ud>@goxdcr</ud>) ]
      2018-02-06T20:43:02.889381Z INFO 81: DCP connection opened successfully. flags:{INCLUDE_XATTRS } [ 172.23.104.41:42532 - 172.23.104.41:11210 (<ud>@goxdcr</ud>) ]
      ...
      2018-02-06T20:43:04.262361Z WARNING 81: exception occurred in runloop - closing connection: DcpProducer::BufferLog: attempting to release 209721 bytes which is greater than 208401
      

      Attachments

        Issue Links

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

          Activity

            People

              paolo.cocchi Paolo Cocchi
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty