Sha256: 1057e384e0f9aa033f6ad6fe4b4d1944789a1fad9493eeb99e88bd3167e919c5

Contents?: true

Size: 1.45 KB

Versions: 27

Compression:

Stored size: 1.45 KB

Contents

description: "Response from removed server"

uri: "mongodb://a,b/?replicaSet=rs"

phases: [

    {
        responses: [

                ["a:27017", {

                    ok: 1,
                    helloOk: true,
                    isWritablePrimary: true,
                    setName: "rs",
                    hosts: ["a:27017"],
                    minWireVersion: 0,
                    maxWireVersion: 6
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "RSPrimary",
                    setName: "rs"
                }
            },
            topologyType: "ReplicaSetWithPrimary",
            logicalSessionTimeoutMinutes: null,
            setName: "rs"
        }
    },

    {
        responses: [

                ["b:27017", {

                    ok: 1,
                    helloOk: true,
                    isWritablePrimary: false,
                    secondary: true,
                    setName: "rs",
                    hosts: ["a:27017", "b:27017"],
                    minWireVersion: 0,
                    maxWireVersion: 6
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "RSPrimary",
                    setName: "rs"
                }
            },
            topologyType: "ReplicaSetWithPrimary",
            logicalSessionTimeoutMinutes: null,
            setName: "rs"
        }
    }
]

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
mongo-2.17.1 spec/spec_tests/data/sdam/rs/response_from_removed.yml
mongo-2.16.1 spec/spec_tests/data/sdam/rs/response_from_removed.yml
mongo-2.17.0 spec/spec_tests/data/sdam/rs/response_from_removed.yml
mongo-2.16.0 spec/spec_tests/data/sdam/rs/response_from_removed.yml
mongo-2.15.1 spec/spec_tests/data/sdam/rs/response_from_removed.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/sdam/rs/response_from_removed.yml
mongo-2.15.0 spec/spec_tests/data/sdam/rs/response_from_removed.yml