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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.6, 2.1.1
    • Fix Version/s: 2.0.7, 2.1.2
    • Component/s: Storage
    • Labels:
      None
    • Operating System:
      Windows

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: