...

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

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

     1{
     2  "description": "Mongos disconnect",
     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      "responses": [
    48        [
    49          "a:27017",
    50          {}
    51        ]
    52      ],
    53      "outcome": {
    54        "servers": {
    55          "a:27017": {
    56            "type": "Unknown",
    57            "setName": null
    58          },
    59          "b:27017": {
    60            "type": "Mongos",
    61            "setName": null
    62          }
    63        },
    64        "topologyType": "Sharded",
    65        "logicalSessionTimeoutMinutes": null,
    66        "setName": null
    67      }
    68    },
    69    {
    70      "responses": [
    71        [
    72          "a:27017",
    73          {
    74            "ok": 1,
    75            "helloOk": true,
    76            "isWritablePrimary": true,
    77            "msg": "isdbgrid",
    78            "minWireVersion": 0,
    79            "maxWireVersion": 6
    80          }
    81        ]
    82      ],
    83      "outcome": {
    84        "servers": {
    85          "a:27017": {
    86            "type": "Mongos",
    87            "setName": null
    88          },
    89          "b:27017": {
    90            "type": "Mongos",
    91            "setName": null
    92          }
    93        },
    94        "topologyType": "Sharded",
    95        "logicalSessionTimeoutMinutes": null,
    96        "setName": null
    97      }
    98    }
    99  ]
   100}

View as plain text