...

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

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

     1{
     2  "description": "Primary mismatched me",
     3  "phases": [
     4    {
     5      "outcome": {
     6        "servers": {
     7          "a:27017": {
     8            "setName": null,
     9            "type": "Unknown"
    10          },
    11          "b:27017": {
    12            "setName": null,
    13            "type": "Unknown"
    14          }
    15        },
    16        "setName": "rs",
    17        "topologyType": "ReplicaSetNoPrimary",
    18        "logicalSessionTimeoutMinutes": null
    19      },
    20      "responses": [
    21        [
    22          "localhost:27017",
    23          {
    24            "me": "a:27017",
    25            "hosts": [
    26              "a:27017",
    27              "b:27017"
    28            ],
    29            "helloOk": true,
    30            "isWritablePrimary": true,
    31            "ok": 1,
    32            "setName": "rs",
    33            "minWireVersion": 0,
    34            "maxWireVersion": 6
    35          }
    36        ]
    37      ]
    38    }
    39  ],
    40  "uri": "mongodb://localhost:27017/?replicaSet=rs"
    41}

View as plain text