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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.0.6, 2.1.1
    • 2.0.7, 2.1.2
    • Storage
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: