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

Add support for background drops

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: