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

monogod --oplogSize flag is ignored on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 1.6.5
    • 1.7.6
    • Admin
    • None
    • Windows 64-bit
    • Windows

    Description

      Tried starting up mongo with:

      mongod --oplogSize 5000

      However the oplog never grows beyond about 1GB.
      Despite specifying the flag the log file writes:

      Sun Feb 13 18:45:13 MongoDB starting : pid=824 port=27017 dbpath=d:\DB\Mongo\data 64-bit
      Sun Feb 13 18:45:13 db version v1.6.5, pdfile version 4.5
      Sun Feb 13 18:45:13 git version: 0eb017e9b2828155a67c5612183337b89e12e291
      Sun Feb 13 18:45:13 sys info: windows (6, 1, 7600, 2, '') BOOST_LIB_VERSION=1_42
      Sun Feb 13 18:45:13 [initandlisten] waiting for connections on port 27017
      Sun Feb 13 18:45:13 [initandlisten] ******
      Sun Feb 13 18:45:13 [initandlisten] creating replication oplog of size: 904MB... (use --oplogSize to change)
      Sun Feb 13 18:45:13 [initandlisten] ******

      Attachments

        Activity

          People

            scotthernandez Scott Hernandez
            sym3tri Ed Rooth
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: