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

queryableBackupMode and wiredTigerEngineConfigString flags are incompatible

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.19, 3.6.10, 4.0.6, 4.1.7
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6, v3.4
    • Hide

      Run mongod with --wiredTigerEngineConfigString cache_size=64M --queryableBackupMode.

      Show
      Run mongod with --wiredTigerEngineConfigString cache_size=64M --queryableBackupMode .
    • Storage NYC 2018-12-31

    Description

      If you try to use both of them, you'll get an "Invalid argument" error.  For example, if you pass --wiredTigerEngineConfigString cache_size=64M --queryableBackupMode, mongo will end up passing the string ...,cache_size=64Mreadonly=true, to WiredTiger.

      The bug is at https://github.com/mongodb/mongo/blob/b7a866da63617afe5bbb98d13b905fab63449209/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp#L513; that should be ss << ",readonly=true,"; (note the addition of the leading comma).

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: