Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17210

Crash can leave data inaccessible due to empty storage.bson file

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc9, 3.1.0
    • Affects Version/s: 3.0.0-rc8
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • RPL 0 3/13/15

      A crash shortly after initializing a db directory can leave the data inaccessible due to an empty storage.bson file. An fsync of the newly written file in StorageEngineMetadata::write before allowing any db data to be written should fix this.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: