Uploaded image for project: 'Percona Server for MongoDB'
  1. Percona Server for MongoDB
  2. PSMDB-233

issue when using different storage engines with WT encryption options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When I try to start PSMDB 3.6 with WT encryption options but specify different storage engine the server starts normally and without any warnings that those options were ignored.

      The problem is even bigger since there's no status variable which could show if encryption is enabled or not, you can just check output from db.serverCmdLineOpts() and see that they are specified and parsed but need to know that they are ignored since encryption is WT only.

      For example if I take some other WT specific option like "wiredTigerCacheSizeGB" and try to use it with mmapv1/rocksdb I'll get following in the log:

      2018-08-20T15:13:02.149+0200 W STORAGE  [initandlisten] Detected configuration for non-active storage engine wiredTiger when current storage engine is rocksdb
      

      which is far from perfect since it's not listed which option is problematic and the server was started normally, but at least it's something and even this is not seen for encryption options.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igor.solodovnikov Igor Solodovnikov
                Reporter:
                tomislav.plavcic@percona.com Tomislav Plavcic
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: