Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1067

Syncdelay docs are wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • None
    • manual
    • None
    • true

    Description

      in manual

      If --syncdelay is 0, mongod flushes all operations to disk immediately

      The above statement is incorrect

      These are correct:
      program option

      seconds between disk syncs (0=never, but not recommended)

      db.cpp

      warning: --syncdelay 0 is not recommended and can have strange performance

      notes

      • msync() was never called when syncdelay is 0.
      • MemoryMappedFile::flushAll() was skipped by the line of

        if ( cmdLine.syncdelay == 0 ) 
           // skip flush calls

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            crumbjp Hiroaki
            Jess Mokrzecki Jess Mokrzecki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 10 weeks, 1 day ago