...

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

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

     1{
     2  "description": "Incompatible arbiter",
     3  "uri": "mongodb://a,b/?replicaSet=rs",
     4  "phases": [
     5    {
     6      "responses": [
     7        [
     8          "a:27017",
     9          {
    10            "ok": 1,
    11            "helloOk": true,
    12            "isWritablePrimary": true,
    13            "setName": "rs",
    14            "hosts": [
    15              "a:27017",
    16              "b:27017"
    17            ],
    18            "minWireVersion": 0,
    19            "maxWireVersion": 6
    20          }
    21        ],
    22        [
    23          "b:27017",
    24          {
    25            "ok": 1,
    26            "helloOk": true,
    27            "arbiterOnly": true,
    28            "setName": "rs",
    29            "hosts": [
    30              "a:27017",
    31              "b:27017"
    32            ],
    33            "minWireVersion": 0,
    34            "maxWireVersion": 1
    35          }
    36        ]
    37      ],
    38      "outcome": {
    39        "servers": {
    40          "a:27017": {
    41            "type": "RSPrimary",
    42            "setName": "rs"
    43          },
    44          "b:27017": {
    45            "type": "RSArbiter",
    46            "setName": "rs"
    47          }
    48        },
    49        "topologyType": "ReplicaSetWithPrimary",
    50        "setName": "rs",
    51        "logicalSessionTimeoutMinutes": null,
    52        "compatible": false
    53      }
    54    }
    55  ]
    56}

View as plain text