Sha256: ac29a43e492f9b7621eb961a1b5ccc54d25e1394b709fd409aa24d132d26e436

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

description: "Primary becomes standalone"

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

phases: [

    {
        responses: [

                ["a:27017", {

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

        outcome: {

            servers: {

                "a:27017": {

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

    {
        responses: [

                ["a:27017", {

                    ok: 1
                }]
        ],

        outcome: {

            servers: {},
            topologyType: "ReplicaSetNoPrimary",
            logicalSessionTimeoutMinutes: null,
            setName: "rs"
        }
    }
]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongo-2.5.0 spec/support/sdam/rs/primary_becomes_standalone.yml
mongo-2.5.0.beta spec/support/sdam/rs/primary_becomes_standalone.yml