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

Unknown servers affect topology compatibility

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None

      https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#checking-wire-protocol-compatibility does not explicitly say to exclude unknown servers from topology compatibility decision, but surely this needs to happen as an unknown server hasn't provided us with a wire version to consider.

      Due to 1584 this is reported as

      Mongo::Error::UnsupportedFeatures: Server at (localhost:27018) reports wire version (0), but this version of the Ruby driver requires at least (2).

      ... which is pretty confusing.

            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: