Sha256: 1549470d2985609c803d7068f12e7a3dda03dbf70417fe5e674ae3453d7dcdab

Contents?: true

Size: 1.63 KB

Versions: 27

Compression:

Stored size: 1.63 KB

Contents

description: "New primary"

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

phases: [

    {
        responses: [

                ["a:27017", {

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

        outcome: {

            servers: {

                "a:27017": {

                    type: "RSPrimary",
                    setName: "rs"
                },

                "b:27017": {

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

    {
        responses: [

                ["b:27017", {

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

        outcome: {

            servers: {

                "a:27017": {

                    type: "Unknown",
                    setName:
                },

                "b: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/new_primary.yml
mongo-2.16.1 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.17.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.16.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.15.1 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.15.0 spec/spec_tests/data/sdam/rs/new_primary.yml