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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.0.0-rc8
    • 3.0.0-rc9, 3.1.0
    • Storage
    • None
    • Fully Compatible
    • ALL
    • RPL 0 3/13/15

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: