...

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

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

     1{
     2  "description": "Multiple mongoses",
     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": 0,
    15            "maxWireVersion": 6
    16          }
    17        ],
    18        [
    19          "b:27017",
    20          {
    21            "ok": 1,
    22            "helloOk": true,
    23            "isWritablePrimary": true,
    24            "msg": "isdbgrid",
    25            "minWireVersion": 0,
    26            "maxWireVersion": 6
    27          }
    28        ]
    29      ],
    30      "outcome": {
    31        "servers": {
    32          "a:27017": {
    33            "type": "Mongos",
    34            "setName": null
    35          },
    36          "b:27017": {
    37            "type": "Mongos",
    38            "setName": null
    39          }
    40        },
    41        "topologyType": "Sharded",
    42        "logicalSessionTimeoutMinutes": null,
    43        "setName": null
    44      }
    45    }
    46  ]
    47}

View as plain text