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

Add a way for schema operations to fail immediately if resources aren't available

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      It would be good if there were some way to fail operations immediately if a lock/handle/resource is not available.

      For example if there is a checkpoint in progress, and an application wants to try dropping a table. It'd be nice if the drop could return EBUSY immediately, rather than waiting for the checkpoint.

      This functionality would be optional and could be exposed a couple of ways:

      • Add a new setting to the session handle (reconfigurable) that turns the no-wait on for all schema operations on a session handle.
      • Add a new setting to all APIs that do schema level operations (yuck).

      Attachments

        Issue Links

          Activity

            People

              backlog-server-execution Backlog - Storage Execution Team
              alexander.gorrod@mongodb.com Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: