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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Bruce Lucas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: