Sha256: 073c715cd109a00811bab8c5924dc5268ea4c8dfd545dc461c9674c8a77d98b4

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 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: Single
  servers:
  - &1
    address: a:27017
    type: Standalone
    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/Single/Incompatible.yml
mongo-2.4.0.rc0 spec/support/max_staleness/Single/Incompatible.yml