...

Text file src/go.mongodb.org/mongo-driver/testdata/server-discovery-and-monitoring/sharded/too_old.json

Documentation: go.mongodb.org/mongo-driver/testdata/server-discovery-and-monitoring/sharded

     1{
     2  "description": "Multiple mongoses with default maxWireVersion of 0",
     3  "uri": "mongodb://a,b",
     4  "phases": [
     5    {
     6      "responses": [
     7        [
     8          "a:27017",
     9          {
    10            "ok": 1,
    11            "helloOk": true,
    12            "isWritablePrimary": true,
    13            "msg": "isdbgrid",
    14            "minWireVersion": 2,
    15            "maxWireVersion": 6
    16          }
    17        ],
    18        [
    19          "b:27017",
    20          {
    21            "ok": 1,
    22            "helloOk": true,
    23            "isWritablePrimary": true,
    24            "msg": "isdbgrid"
    25          }
    26        ]
    27      ],
    28      "outcome": {
    29        "servers": {
    30          "a:27017": {
    31            "type": "Mongos",
    32            "setName": null
    33          },
    34          "b:27017": {
    35            "type": "Mongos",
    36            "setName": null
    37          }
    38        },
    39        "topologyType": "Sharded",
    40        "logicalSessionTimeoutMinutes": null,
    41        "setName": null,
    42        "compatible": false
    43      }
    44    }
    45  ]
    46}

View as plain text