Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2110

Examine features on connection rather than server in operations layer

      Some work has already been done to reference server feature support on the connection used for operation rather than the state on the server which is maintained by the monitor, but e.g. the following call also needs to be changed:

            def execute(server)
              if server.features.list_collections_enabled?
                return Operation::ListCollections.new(spec).execute(server)
              end
      
              super
            end
      

      In mongo/operation/collections_info.rb

            Assignee:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: