Sha256: 488fe2bb8afde558b34a469b8d62c4d0d30c4e667e57d660407e04cbff076f96
Contents?: true
Size: 1.37 KB
Versions: 2
Compression:
Stored size: 1.37 KB
Contents
description: "Secondary with mismatched 'me' tells us who the primary is" uri: "mongodb://a/?replicaSet=rs" phases: [ # A is a secondary with mismatched "me". Remove A, add PossiblePrimary B. { responses: [ ["a:27017", { ok: 1, ismaster: false, secondary: true, me: "c:27017", hosts: ["b:27017"], setName: "rs", primary: "b:27017" }] ], outcome: { servers: { "b:27017": { type: "PossiblePrimary", setName: } }, topologyType: "ReplicaSetNoPrimary", logicalSessionTimeoutMinutes: null, setName: "rs", } }, # Discover B is primary. { responses: [ ["b:27017", { ok: 1, ismaster: true, me: "b:27017", hosts: ["b:27017"], setName: "rs" }] ], outcome: { servers: { "b:27017": { type: "RSPrimary", setName: "rs" } }, topologyType: "ReplicaSetWithPrimary", logicalSessionTimeoutMinutes: null, setName: "rs" } } ]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongo-2.5.0 | spec/support/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml |
mongo-2.5.0.beta | spec/support/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml |