Sha256: 2524fa1f9ebdfb6696b552ae9b8e0b4b1b74bbd4154242f5c56c1f8518c03cef

Contents?: true

Size: 774 Bytes

Versions: 2

Compression:

Stored size: 774 Bytes

Contents

description: "Replica set discovery from primary"

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

phases: [

    {
        responses: [

                ["a:27017", {

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

        outcome: {

            servers: {

                "a:27017": {

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

                "b:27017": {

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

Version data entries

2 entries across 2 versions & 1 rubygems

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