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

Race between force-drop and sweep

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.8.0, 3.0.13
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      As detected in MongoDB testing, after a table is dropped with "force" (which is always passed by MongoDB), the sweep server can see a tree marked "dead" and go to discard it before the drop has completed. Then drop clears the "no eviction" flag and eviction can be running concurrent with the sweep server discarding the tree from cache.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: