Sha256: 2af6f5eb46c6df3df89bafba69b7e7b7a77e6959bc0f67630142868fb442bf81

Contents?: true

Size: 841 Bytes

Versions: 8

Compression:

Stored size: 841 Bytes

Contents

description: "Primary becomes standalone"

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

phases: [

    {
        responses: [

                ["a:27017", {

                    ok: 1,
                    ismaster: true,
                    hosts: ["a"],
                    setName: "rs"
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

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

            topologyType: "ReplicaSetWithPrimary",
            setName: "rs"
        }
    },

    {
        responses: [

                ["a:27017", {

                    ok: 1
                }]
        ],

        outcome: {

            servers: {},

            topologyType: "ReplicaSetNoPrimary",
            setName: "rs"
        }
    }
]

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mongo-2.0.5 spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.0.4 spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.0.3 spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.0.2 spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.0.1 spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.0.0 spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.0.0.rc spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.0.0.beta spec/support/sdam/rs/primary_becomes_standalone.yml