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
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mongo-2.8.0/spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.12.4 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.6 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.12.3 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.12.2 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.10.5 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.5 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.12.1 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.12.0.rc0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.4 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.10.4 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.3 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.2 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.1 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.10.3 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.9.2 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.10.2 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.11.0.rc0 spec/spec_tests/data/sdam/rs/discover_passives.yml
mongo-2.10.1 spec/spec_tests/data/sdam/rs/discover_passives.yml