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

Metadata crash consistency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • WT2.6.1
    • None
    • None
    • None

    Description

      If there is a crash during a WT_SESSION::create, WT_SESSION::drop or WT_SESSION::rename operation, WiredTiger can end up with metadata entries that have no corresponding file.

      This may not be fully fixable for rename without making these operations transactional, but for create and drop, we should be able to order operations (including filesystem, log and metadata flushes) so that metadata is left consistent regardless of crashes during the operation.

      Attachments

        Issue Links

          Activity

            People

              michael.cahill@mongodb.com Michael Cahill
              michael.cahill@mongodb.com Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: