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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.3.1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: