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

Increase the default value for ht_locks by a factor of approx. 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 4.0.0
    • 3.0.3
    • couchbase-bucket
    • Security Level: Public
    • Triaged
    • Unknown
    • Mar 9 - Mar 27

    Description

      Filing this as a bug so it will get noticed and we'll make a decision.

      Based on our findings with one of our large customers we may want to consider increasing the default hashtable locks by an order of magnitude to reduce the amount of time sections of the hashtable are locked for any pagers that walk the hashtable checking on items (e.g. access log scanner, item pager, access log scanner, etc.)

      My suggestion would be to increase ht_locks to 53 or 47 (prime numbers are a good idea according to Chiyoung.)

      Attachments

        Issue Links

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

          Activity

            People

              wayne Wayne Siu
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty