Sha256: 1966dbfe85b12bfcad4b405db2e8850052a05cb14492d02f884b1a0d47073aad

Contents?: true

Size: 1.76 KB

Versions: 29

Compression:

Stored size: 1.76 KB

Contents

description: "Mongos disconnect"

uri: "mongodb://a,b"

phases: [

    {
        responses: [

                ["a:27017", {

                    ok: 1,
                    ismaster: true,
                    msg: "isdbgrid"
                }],

                ["b:27017", {

                    ok: 1,
                    ismaster: true,
                    msg: "isdbgrid"
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "Mongos",
                    setName:
                },

                "b:27017": {

                    type: "Mongos",
                    setName:
                }
            },

            topologyType: "Sharded",
            setName:
        }
    },
    {
        responses: [
                ["a:27017", {}],  # Hangup.
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "Unknown",
                    setName:
                },

                "b:27017": {

                    type: "Mongos",
                    setName:
                }
            },

            topologyType: "Sharded",
            setName:
        }
    },
    {
        responses: [
                # Back in action.
                ["a:27017", {

                    ok: 1,
                    ismaster: true,
                    msg: "isdbgrid"
                }],
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "Mongos",
                    setName:
                },

                "b:27017": {

                    type: "Mongos",
                    setName:
                }
            },

            topologyType: "Sharded",
            setName:
        }
    }
]

Version data entries

29 entries across 26 versions & 3 rubygems

Version Path
mongo-2.4.3 spec/support/sdam/sharded/mongos_disconnect.yml
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongo-2.4.1/spec/support/sdam/sharded/mongos_disconnect.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.2/spec/support/sdam/sharded/mongos_disconnect.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.1/spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.4.2 spec/support/sdam/sharded/mongos_disconnect.yml
tdiary-5.0.4 vendor/bundle/gems/mongo-2.4.1/spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.4.1 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.4.0 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.3.1 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.4.0.rc1 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.4.0.rc0 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.3.0 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.2.7 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.2.6 spec/support/sdam/sharded/mongos_disconnect.yml
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mongo-2.2.5/spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.2.5 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.2.4 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.2.3 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.2.2 spec/support/sdam/sharded/mongos_disconnect.yml
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/mongo-2.2.1/spec/support/sdam/sharded/mongos_disconnect.yml