Sha256: b65956c623cad7eed2552e3ff5b115af23ae7e35524b9425e3b635d1d9c6c072

Contents?: true

Size: 1.69 KB

Versions: 15

Compression:

Stored size: 1.69 KB

Contents

description: Primary mismatched me is not removed
uri: mongodb://localhost:27017,localhost:27018/?replicaSet=rs

phases: [
  {
    responses: [
      ["localhost:27017", {
        ok: 1,
        hosts: [
          "localhost:27017",
          "localhost:27018"
        ],
        ismaster: true,
        setName: "rs",
        primary: "localhost:27017",
        # me does not match the primary responder's address, but the server
        # is still added because we don't me mismatch check the primary and all
        # servers from a primary ismaster are added to the working server set
        me: "a:27017",
        minWireVersion: 0,
        maxWireVersion: 7
      }]
    ],
    outcome: {
      servers: {
        "localhost:27017": {
          type: "RSPrimary",
          setName: "rs"
        },
        "localhost:27018": {
          type: "Unknown",
          setName: null
        }
      },
      topologyType: "ReplicaSetWithPrimary",
      logicalSessionTimeoutMinutes: null,
      setName: "rs"
    }
  },
  {
    responses: [
      ["localhost:27018", {
        ok: 1,
        hosts: [
          "localhost:27017",
          "localhost:27018"
        ],
        ismaster: false,
        secondary: true,
        setName: "rs",
        primary: "localhost:27017",
        me: "localhost:27018",
        minWireVersion: 0,
        maxWireVersion: 7
      }]
    ],
    outcome: {
      servers: {
        "localhost:27017": {
          type: "RSPrimary",
          setName: "rs"
        },
        "localhost:27018": {
          type: "RSSecondary",
          setName: "rs"
        }
      },
      topologyType: "ReplicaSetWithPrimary",
      logicalSessionTimeoutMinutes: null,
      setName: "rs"
    }
  }
]

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mongo-2.13.3 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.14.1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.15.0.alpha spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.13.2 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.14.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.14.0.rc1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.13.1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.12.4 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.13.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.12.3 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.13.0.rc1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.12.2 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.13.0.beta1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.12.1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.12.0.rc0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml