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

mongoperf crashes writing with MMF and syncDelay is other that 0-never

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.8.0-rc2
    • 2.8.0-rc4
    • Performance
    • None
    • Fully Compatible
    • ALL
    • Hide

      echo "{nThreads:16,fileSizeMB:1000,r:true,w:true,mmf:true,syncDelay:6}" | ./mongoperf

      Reproduce 100%

      Show
      echo "{nThreads:16,fileSizeMB:1000,r:true,w:true,mmf:true,syncDelay:6}" | ./mongoperf Reproduce 100%

    Description

      mongoperf crash in mode MMF when syncDelay is set.
      Inside mongoperf.cpp::syncThread(): mmfFile->flush(true); call ProcessInfo::preferMsyncOverFSync(); who is not inited, and try use NULL pointer to class.
      Function ProcessInfo::initializeSystemInfo(); should be used before first use of syncThread().

      Attachments

        Activity

          People

            matt.kangas Matt Kangas
            spawlows Slawomir Pawlowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: