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

Remove superfluous call to notify DCP producer

    XMLWordPrintable

Details

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

    Description

      The core will first process incomming messages (causing {{
      DcpProducer::bufferAcknowledgement}} to be called) it'll then call step to process the DCP producer. This happens in the same thread context making the "notify" call as part of executing the ack call superfluous. 
       
      If the core spent too much time executing input packets causing the connection to use the entire timeslice before running step, the core will schedule another callback for the connection.
       

      Attachments

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

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty