Sha256: 93047d993fda72e32cd8092ac5779d6c62d540c1861dfbedbbed3ca82c827b6a

Contents?: true

Size: 1.69 KB

Versions: 41

Compression:

Stored size: 1.69 KB

Contents

description: "Discover passives"

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

phases: [

    {
        responses: [

                ["a:27017", {

                    ok: 1,
                    ismaster: true,
                    hosts: ["a:27017"],
                    passives: ["b:27017"],
                    setName: "rs",
                    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,
                    ismaster: false,
                    secondary: true,
                    passive: true,
                    hosts: ["a:27017"],
                    passives: ["b:27017"],
                    setName: "rs",
                    minWireVersion: 0,
                    maxWireVersion: 6
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

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

                "b:27017": {

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

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
mongo-2.10.0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.9.1 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.10.0.rc0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.9.1.rc0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.9.0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.9.0.rc1 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.9.0.rc0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.8.0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.7.2 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.8.0.rc0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.7.1 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.7.0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.7.0.rc0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.6.4 spec/support/sdam/rs/discover_passives.yml
mongo-2.6.2 spec/support/sdam/rs/discover_passives.yml
mongo-2.6.1 spec/support/sdam/rs/discover_passives.yml
mongo-2.6.0 spec/support/sdam/rs/discover_passives.yml
mongo-2.5.3 spec/support/sdam/rs/discover_passives.yml
mongo-2.5.2 spec/support/sdam/rs/discover_passives.yml
tdiary-5.0.8 vendor/bundle/gems/mongo-2.5.1/spec/support/sdam/rs/discover_passives.yml