Sha256: b1b58222590acbbf2ecf4a6d61abe1662266a0d841826455b7f0ac9a3db39b39

Contents?: true

Size: 916 Bytes

Versions: 10

Compression:

Stored size: 916 Bytes

Contents

description: "Discover secondary with directConnection URI option"

uri: "mongodb://b/?directConnection=false"

phases: [

    {
        responses: [

                ["b:27017", {

                    ok: 1,
                    ismaster: false,
                    secondary: true,
                    setName: "rs",
                    hosts: ["a:27017", "b:27017"],
                    minWireVersion: 0,
                    maxWireVersion: 6
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "Unknown",
                    setName:
                },

                "b:27017": {

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mongo-2.13.3 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.14.1 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.15.0.alpha spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.13.2 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.14.0 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.14.0.rc1 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.13.1 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.13.0 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.13.0.rc1 spec/spec_tests/data/sdam/rs/discover_secondary.yml
mongo-2.13.0.beta1 spec/spec_tests/data/sdam/rs/discover_secondary.yml