spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml in mongo-2.16.4 vs spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml in mongo-2.17.0
- old
+ new
@@ -8,17 +8,17 @@
- &1
address: a:27017
type: RSPrimary
avg_rtt_ms: 5
lastUpdateTime: 0
- maxWireVersion: 5
+ maxWireVersion: 6
lastWrite: {lastWriteDate: {$numberLong: "1"}}
- &2
address: b:27017
type: RSSecondary
avg_rtt_ms: 50 # Too far.
lastUpdateTime: 0
- maxWireVersion: 5
+ maxWireVersion: 6
lastWrite: {lastWriteDate: {$numberLong: "1"}}
read_preference:
mode: Nearest
maxStalenessSeconds: 130 # OK, must be 120 + 10 = 130 seconds.
suitable_servers: