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

Crash vulnerability with nojournal after create during checkpoint

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Fixed
    • Affects Version/s: 3.2.8
    • Fix Version/s: WT2.9.0, 3.2.9, 3.3.11
    • Component/s: None
    • Labels:

      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

              • Assignee:
                michael.cahill Michael Cahill
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: