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

Enhance bulk cursor option with an option to return immediately on contention

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.10, 3.3.11
    • Component/s: None
    • Labels:

      Description

      The current bulk cursor implementation will wait to get (or fail to get) exclusive access to a handle before proceeding. That can mean that opening a bulk cursor can block waiting for a checkpoint to finish.

      It would be good to add a new checkpoint_wait flag to the WT_SESSION::open_cursor method, that will cause bulk cursors to acquire the checkpoint lock via a try lock if configured. The option should be illegal when opening a non-bulk cursor.

      This functionality matches the existing WT_SESSION::drop checkpoint_wait configuration option.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sulabh.mahajan Sulabh Mahajan
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: