...

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

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

     1description: "Multiple mongoses with large maxWireVersion"
     2uri: "mongodb://a,b"
     3phases: [
     4    {
     5        responses: [
     6                ["a:27017", {
     7                    ok: 1,
     8                    helloOk: true,
     9                    isWritablePrimary: true,
    10                    msg: "isdbgrid",
    11                    minWireVersion: 0,
    12                    maxWireVersion: 1000
    13                }],
    14                ["b:27017", {
    15                    ok: 1,
    16                    helloOk: true,
    17                    isWritablePrimary: true,
    18                    msg: "isdbgrid",
    19                    minWireVersion: 0,
    20                    maxWireVersion: 6
    21                }]
    22        ],
    23        outcome: {
    24            servers: {
    25                "a:27017": {
    26                    type: "Mongos",
    27                    setName:
    28                },
    29                "b:27017": {
    30                    type: "Mongos",
    31                    setName:
    32                }
    33            },
    34            topologyType: "Sharded",
    35            logicalSessionTimeoutMinutes: null,
    36            setName: ,
    37            compatible: true
    38        }
    39    }
    40]

View as plain text