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

Mongo Shell does not accept compressors connection string argument

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.10, 4.0.5, 4.1.5
    • Affects Version/s: 3.6.5, 4.0.0-rc1
    • Component/s: Shell
    • Labels:
    • Minor Change
    • ALL
    • v4.0, v3.6
    • Hide
      1. Start mongod with compression.
      2. Connect the mongo shell using a URI containing compressors=snappy.
      3. Run db.serverStatus and observe that network.compression.snappy.compressor.bytesIn is zero.
      4. Quit the shell
      5. Connect the mongo shell using --networkMessageCompressors=snappy.
      6. Run db.serverStatus and observe the network.compression.snappy.compressor.bytesIn is non-zero.
      Show
      Start mongod with compression. Connect the mongo shell using a URI containing compressors=snappy. Run db.serverStatus and observe that network.compression.snappy.compressor.bytesIn is zero. Quit the shell Connect the mongo shell using --networkMessageCompressors=snappy . Run db.serverStatus and observe the network.compression.snappy.compressor.bytesIn is non-zero.
    • Service Arch 2018-10-22, Service Arch 2018-11-05

      When using a connection string URI with the compressors URI option, the mongo shell does not connect to the server with compressor. The mongo shell will connect with compression when the networkMessageCompressors flag is used.

            Assignee:
            tyler.kaye@mongodb.com Tyler Kaye
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: