Sha256: 4a9b130fb98d6d860bc31c208dc2627af290bc4833e530c1792ed1615f62bbeb

Contents?: true

Size: 1.76 KB

Versions: 27

Compression:

Stored size: 1.76 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"
        ],
        helloOk: true,
        isWritablePrimary: 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 isWritablePrimary 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"
        ],
        helloOk: true,
        isWritablePrimary: 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

27 entries across 27 versions & 2 rubygems

Version Path
mongo-2.21.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.20.1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mogno-2.20.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mogno-1.0.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.20.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.19.3 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.16.4 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.17.4 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.18.3 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.19.2 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.19.1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.19.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.18.2 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.17.3 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.18.1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.18.0 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.17.2 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.16.3 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.18.0.beta1 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
mongo-2.16.2 spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml