Sha256: 83ed04a0afee96c4801b9a81f352890c73b4d2fd6d48b48841114555c6c75652

Contents?: true

Size: 1.9 KB

Versions: 6

Compression:

Stored size: 1.9 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",
            logicalSessionTimeoutMinutes: null,
            setName:
        }
    },
    {
        responses: [
                ["a:27017", {}],  # Hangup.
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "Unknown",
                    setName:
                },

                "b:27017": {

                    type: "Mongos",
                    setName:
                }
            },
            topologyType: "Sharded",
            logicalSessionTimeoutMinutes: null,
            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",
            logicalSessionTimeoutMinutes: null,
            setName:
        }
    }
]

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mongo-2.5.3 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.5.2 spec/support/sdam/sharded/mongos_disconnect.yml
tdiary-5.0.8 vendor/bundle/gems/mongo-2.5.1/spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.5.1 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.5.0 spec/support/sdam/sharded/mongos_disconnect.yml
mongo-2.5.0.beta spec/support/sdam/sharded/mongos_disconnect.yml