Sha256: f1488af5fbe92bc0f1e5df10deed9b162c05aefad16c5427cd209adaec9bc76c

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

# Ignore maxStalenessMS is primary is available.
---
heartbeatFrequencyMS: 25000  # 25 seconds.
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:
  mode: PrimaryPreferred
  maxStalenessMS: 50000
suitable_servers:
- *1
in_latency_window:
- *1

Version data entries

2 entries across 2 versions & 1 rubygems

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