Sha256: 7e3768d84efdce73a96c7d87a883fb7caa8f8426a956c9c8cf0bb709c50b4329

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

# During server selection,
# clients (drivers or mongos) MUST raise an error if ``maxStalenessMS`` is not zero or null,
# and any server's ``maxWireVersion`` is less than 5 (`SERVER-23893`_).
---
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  # Incompatible.
    lastWrite: {lastWriteDate: {$numberLong: "1"}}
read_preference:
  mode: Nearest
  maxStalenessMS: 120000
error: true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongo-2.4.0.rc1 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.4.0.rc0 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml