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

Projector/DCP - buffer acknowledgment is happening at the limit leading to frequent logging and connection pauses.

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      Projector DCP is setting a 2MB flow-control window and then only acking when it has processed 2MB - from server side this will lead to frequent pausing and penalise healthy nodes who could be consuming faster. A secondary affect is that memcached.log will be filled with messages about unpausing.

      Notifying paused connection now that DcpProducer::BufferLog is no longer
      

      I think this behaviour is observable in perf tests, although there's no noticeable performance issue, e.g.

      https://showfast.sc.couchbase.com/#/runs/secondary_1M_multiple_moi_thr_nyx/7.2.2-6316

      All nodes are logging "Notify paused"

      > find . -name memcached.log | xargs grep -c "Notif"
      ./cbcollect_info_ns_1@172.23.97.7_20230916-102234/memcached.log:604
      ./cbcollect_info_ns_1@172.23.97.6_20230916-102234/memcached.log:606
      ./cbcollect_info_ns_1@172.23.97.4_20230916-102234/memcached.log:606
      ./cbcollect_info_ns_1@172.23.97.3_20230916-102235/memcached.log:606
      ./cbcollect_info_ns_1@172.23.97.5_20230916-102234/memcached.log:606
      

      Attachments

        Issue Links

          Activity

            People

              varun.velamuri Varun Velamuri
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty