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

Defragmenter task holds HashTable mutexes for longer than necessary

    XMLWordPrintable

Details

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

    Description

      The pause-resume visitor used by the Defragmenter 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.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-14547
          # Subject Branch Project Status CR V

          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