Sha256: 273d51fc0f810258459652a6fb65f6615e8f8989265f0eb96652dc46500046c4

Contents?: true

Size: 674 Bytes

Versions: 88

Compression:

Stored size: 674 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: 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
  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/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.20.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mogno-2.20.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mogno-1.0.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.20.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.19.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.16.4 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.17.4 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.18.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.19.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.19.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.19.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.18.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.17.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.18.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.18.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.17.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.16.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.18.0.beta1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.16.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml