...

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

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

     1{
     2  "description": "Discover RSOther with directConnection URI option",
     3  "uri": "mongodb://b/?directConnection=false",
     4  "phases": [
     5    {
     6      "responses": [
     7        [
     8          "b:27017",
     9          {
    10            "ok": 1,
    11            "helloOk": true,
    12            "isWritablePrimary": false,
    13            "secondary": false,
    14            "hosts": [
    15              "c:27017",
    16              "d:27017"
    17            ],
    18            "setName": "rs",
    19            "minWireVersion": 0,
    20            "maxWireVersion": 6
    21          }
    22        ]
    23      ],
    24      "outcome": {
    25        "servers": {
    26          "b:27017": {
    27            "type": "RSOther",
    28            "setName": "rs"
    29          },
    30          "c:27017": {
    31            "type": "Unknown",
    32            "setName": null
    33          },
    34          "d:27017": {
    35            "type": "Unknown",
    36            "setName": null
    37          }
    38        },
    39        "topologyType": "ReplicaSetNoPrimary",
    40        "logicalSessionTimeoutMinutes": null,
    41        "setName": "rs"
    42      }
    43    }
    44  ]
    45}

View as plain text