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

Update the DurabilityMonitor internal tracking and commit in a background thread

    XMLWordPrintable

Details

    Description

      Currently the following functions are executed in front-end threads:

      • DurabilityMonitor::addSyncWrite
      • DurabilityMonitor::seqnoAckReceived

      Both functions:

      1. update the internal tracking
      2. commit satisfied SyncWrites

      Both operations a relatively slow for being executed in a front-end thread, so we expect a relevant (negative) impact on throughput.

      The idea is to do just the strictly necessary in front-end thread (e.g., register that a Seqno-Ack has been received), and defer all the rest to a BG execution (e.g., update iterators and commit).

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty