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.9.1.rc0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.9.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.9.0.rc1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.9.0.rc0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.8.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.7.2 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.8.0.rc0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.7.1 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.7.0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.7.0.rc0 spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.6.4 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.6.2 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.6.1 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.6.0 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.5.3 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.5.2 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
tdiary-5.0.8 vendor/bundle/gems/mongo-2.5.1/spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.5.1 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.5.0 spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
mongo-2.5.0.beta spec/support/max_staleness/ReplicaSetWithPrimary/Incompatible.yml