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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.9.0, 3.2.10, 3.3.11
    • None

    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

              sulabh.mahajan@mongodb.com Sulabh Mahajan
              alexander.gorrod@mongodb.com Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: