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.17.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.16.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.17.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.16.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.13.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.14.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.15.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.15.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mongo-2.8.0/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.15.0.alpha spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.13.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.14.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.14.0.rc1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.13.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.12.4 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.11.6 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.13.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.12.3 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.13.0.rc1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml