Sha256: b06dd351990555f702688b3b461554f2e6acdee67ad14066cdfe2c7e01f876a4

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

# Drivers MUST raise an error if ``maxStalenessMS`` is not zero or null
# and the ``mode`` field is 'primary'.
---
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: 5
    lastWrite: {lastWriteDate: {$numberLong: "1"}}
read_preference:
  maxStalenessMS: 120000
error: true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongo-2.4.0.rc1 spec/support/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
mongo-2.4.0.rc0 spec/support/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml