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

isMaster.compression is not always returned contrary to documentation

      Description

      https://docs.mongodb.com/manual/reference/command/isMaster/#isMaster.compression says:

       isMaster.compression
      
          New in version 3.4.
      
          Changed in version 3.6: In MongoDB 3.6, compression appears by default. Previously, compression only appeared if the network connection was compressed.
      

      My 4.0.0 server does not have a `compression` key in `ismaster` response if compression was not requested by the driver.

      This was also user reported in https://jira.mongodb.org/browse/RUBY-1216.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 21 weeks, 5 days ago