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

BFM backfill allocation unfair when we hit running backfill limit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • Cheshire-Cat
    • couchbase-bucket
    • None

    Description

      Originally seen in MB-44562. We currently unfairly schedule backfills when we hit the max running backfill limit as more frequently running BackfillManagers have more opportunity to acquire that resource.

      This patch http://review.couchbase.org/c/kv_engine/+/147424 attempted to address that issue by queueing the BackfillManagers in a unique queue so that they would be scheduled more fairly when hitting the max running limit. This patch hit the issue described in MB-44919 though as BackfillManagers could be destroyed but not removed from the new pendingQueue. The code added is complicated and may be simplified through larger refactorings so the original change was reverted to be addressed later.

      Attachments

        Issue Links

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

          Activity

            People

              paolo.cocchi Paolo Cocchi
              ben.huddleston Ben Huddleston
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty