...

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

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

     1{
     2  "description": "Unexpected mongos",
     3  "uri": "mongodb://b/?replicaSet=rs",
     4  "phases": [
     5    {
     6      "responses": [
     7        [
     8          "b:27017",
     9          {
    10            "ok": 1,
    11            "helloOk": true,
    12            "isWritablePrimary": true,
    13            "msg": "isdbgrid",
    14            "minWireVersion": 0,
    15            "maxWireVersion": 6
    16          }
    17        ]
    18      ],
    19      "outcome": {
    20        "servers": {},
    21        "topologyType": "ReplicaSetNoPrimary",
    22        "logicalSessionTimeoutMinutes": null,
    23        "setName": "rs"
    24      }
    25    }
    26  ]
    27}

View as plain text