Sha256: 23cff1bd4ad37be662a195adbd59727198c08152e8ab46bb9d023c94b471a7b4
Contents?: true
Size: 652 Bytes
Versions: 2
Compression:
Stored size: 652 Bytes
Contents
# A ``maxStalenessMS`` of zero or null MUST mean "no maximum". --- topology_description: type: ReplicaSetWithPrimary servers: - &1 address: a:27017 type: RSPrimary avg_rtt_ms: 50 # Too far. lastUpdateTime: 0 maxWireVersion: 5 lastWrite: {lastWriteDate: {$numberLong: "1000001"}} - &2 address: b:27017 type: RSSecondary avg_rtt_ms: 5 lastUpdateTime: 0 maxWireVersion: 5 lastWrite: {lastWriteDate: {$numberLong: "1"}} # Very stale. read_preference: mode: Nearest maxStalenessMS: 0 # Means "no max staleness". suitable_servers: # Very stale server is fine. - *1 - *2 in_latency_window: - *2
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongo-2.4.0.rc1 | spec/support/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml |
mongo-2.4.0.rc0 | spec/support/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml |