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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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).

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: