Sha256: f93c55799c720b6dc1ac2cefcf37df093556372e3a06b3c0fe8673796cc0a7e1

Contents?: true

Size: 497 Bytes

Versions: 88

Compression:

Stored size: 497 Bytes

Contents

# During server selection, clients (drivers or mongos) MUST raise an error if
# maxStalenessSeconds is defined and not -1 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
  maxStalenessSeconds: 120
error: true

Version data entries

88 entries across 86 versions & 3 rubygems

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