...

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

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

     1{
     2  "description": "Replica set member with default maxWireVersion of 0",
     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            "isWritablePrimary": false,
    28            "secondary": true,
    29            "setName": "rs",
    30            "hosts": [
    31              "a:27017",
    32              "b:27017"
    33            ]
    34          }
    35        ]
    36      ],
    37      "outcome": {
    38        "servers": {
    39          "a:27017": {
    40            "type": "RSPrimary",
    41            "setName": "rs"
    42          },
    43          "b:27017": {
    44            "type": "RSSecondary",
    45            "setName": "rs"
    46          }
    47        },
    48        "topologyType": "ReplicaSetWithPrimary",
    49        "setName": "rs",
    50        "logicalSessionTimeoutMinutes": null,
    51        "compatible": false
    52      }
    53    }
    54  ]
    55}

View as plain text