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

Crash vulnerability with nojournal after create during checkpoint

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker - P1
    • Resolution: Fixed
    • 3.2.8
    • WT2.9.0, 3.2.9, 3.3.11
    • None

    Description

      WiredTiger was changed in WT-2346 and WT-2426 to allow new tables to be created while a checkpoint is in progress. When logging (aka journal) is enabled, a table create simply flushes its metadata update to the log, making it durable even if there is a crash before the checkpoint completes.

      When logging is disabled, the create operation will sync the metadata to disk. It appears that this can cause some / all of the checkpoint's metadata changes durable before the checkpoint has completed, leading to a window where the on-disk data is not consistent in the event of a crash.

      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: