Server Monitor creates isMaster command without API Version flags

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.18.0, 1.18.0-alpha
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      _server_monitor_awaitable_ismaster constructs its own hello command to send to the server, but does not append Versioned API information. This causes errors when testing against a server with requireApiVersion enabled:

      2021/03/30 09:13:56.0028: [20586751]: DEBUG: monitor: [localhost:27017] command or network error occurred: The apiVersion parameter is required, please configure your MongoClient's API version

              Assignee:
              Andreas Braun
              Reporter:
              Andreas Braun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: