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.21.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.20.1 spec/spec_tests/data/sdam/rs/new_primary.yml
mogno-2.20.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mogno-1.0.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.20.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.19.3 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.16.4 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.17.4 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.18.3 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.19.2 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.19.1 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.19.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.18.2 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.17.3 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.18.1 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.18.0 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.17.2 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.16.3 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.18.0.beta1 spec/spec_tests/data/sdam/rs/new_primary.yml
mongo-2.16.2 spec/spec_tests/data/sdam/rs/new_primary.yml