Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3940

Server Monitor creates isMaster command without API Version flags

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.18.0, 1.18.0-alpha
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: