Sha256: 80a1a9bfa70f2c3ca2a925c9350152fd90211f2be94878e54cc8ec75969a7c74
Contents?: true
Size: 731 Bytes
Versions: 2
Compression:
Stored size: 731 Bytes
Contents
# Primary has wire version 5, secondary has 4, read preference primaryPreferred # with maxStalenessMS. The client must error, even though it uses primary and # never applies maxStalenessMS. Proves that the compatibility check precedes # filtration. --- topology_description: type: ReplicaSetWithPrimary servers: - &1 address: a:27017 type: RSPrimary avg_rtt_ms: 5 lastUpdateTime: 0 maxWireVersion: 5 lastWrite: {lastWriteDate: {$numberLong: "1"}} - &2 address: b:27017 type: RSSecondary avg_rtt_ms: 5 lastUpdateTime: 0 maxWireVersion: 4 # Too old. lastWrite: {lastWriteDate: {$numberLong: "1"}} read_preference: mode: PrimaryPreferred maxStalenessMS: 50000 error: true
Version data entries
2 entries across 2 versions & 1 rubygems