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

ExpiryPager task holds HashTable mutexes for longer than necessary

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.0.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • Untriaged
    • Ubuntu 32-bit
    • Unknown

    Description

      The visitor used by the Expiry pager currently holds each hashTable lock for the duration of visiting every HashBucket owned by that lock. This unnecessarily increases the latency of front-end operations attempting to concurrently access the HashTable.

      By releasing the hashTable lock after visiting each hash_bucket we could significantly reduce the effect the Defragmenter task has on front-end latency.

      (See also: MB-14547).

      Attachments

        Issue Links

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

          Activity

            People

              drigby Dave Rigby (Inactive)
              drigby Dave Rigby (Inactive)
              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