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

a failure inside MakeChunkWritable should call abort/fassert instead of assert

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.7, 2.1.2
    • Affects Version/s: 2.0.6, 2.1.1
    • Component/s: Storage
    • None
    • Windows

      At the end of makeChunkWritable (in mongommf.cpp in 2.0.x and currently in mmap_win.cpp in 2.1.x), if the call to VirtualProtect does not return "ok", abort/fassert should be called instead of assert/verify. If this call fails, there may be data corruption, so the server should shut down to allow recovery via the journal.

            Assignee:
            tad Tad Marshall
            Reporter:
            matulef Kevin Matulef
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: