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

Add support for background drops

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Add a flag to WT_SESSION::drop so that if it cannot get exclusive access to a handle, it instead flags the handle for a background drop. The namespace will not become available for reuse until the background drop is processed.

      The idea is that the sweep server will look for queued drop requests and process them once the handle becomes available.

      Note this requires thought if there is a crash after the drop call returns but before the drop completes. This will require logging to become crash-safe, or space may leak on disk.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: