Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1114

Improve concurrency of file close/avoid checkpoint lock when flushing leaf pages

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.3.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Try to remove the checkpoint lock from the bulk cursor close path – can we switch to an atomic flag on the btree handle, set by both checkpoint and bulk close?

      At the moment, completing a bulk load grabs the checkpoint lock. This prevents multiple bulk loads from completing in parallel. Another way to address this would be to make the checkpoint lock into a read-write lock, but it would be better if we can avoid it altogether: each bulk load already has exclusive access to the tree it is building.

            Assignee:
            Unassigned Unassigned
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: