wTimeoutMS URI option is incorrectly converted

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: