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.12.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.10.5 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.5 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.13.0.beta1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.12.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.12.0.rc0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.4 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.10.4 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.10.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.9.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.10.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.0.rc0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.10.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.10.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.9.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.10.0.rc0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml