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

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

    Details

      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: