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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.8.0-rc4
    • Affects Version/s: 2.8.0-rc2
    • Component/s: 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%

      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().

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

              Created:
              Updated:
              Resolved: