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

wTimeoutMS URI option is incorrectly converted

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      wTimeoutMS URI option is converted to a `timeout` suboption of `:write`, rather than `wtimeout` as it should:

      irb(main):017:0> Mongo::URI.new('mongodb://test.host/?wTimeoutMS=123').uri_options[:write]
      => {"timeout"=>123}
      

      This means passing a wTimeoutMS URI option would be ignored by the driver.

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

              Created:
              Updated:
              Resolved: