summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/max-staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/max-staleness/ReplicaSetWithPrimary/LongHeartbeat.yml')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/max-staleness/ReplicaSetWithPrimary/LongHeartbeat.yml29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/max-staleness/ReplicaSetWithPrimary/LongHeartbeat.yml b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/max-staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
deleted file mode 100644
index 455696492d0..00000000000
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/max-staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-# If users configure a longer ``heartbeatFrequencyMS`` than the default,
-# ``maxStalenessSeconds`` might have a larger minimum.
----
-heartbeatFrequencyMS: 120000 # 120 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: 50 # Too far.
- lastUpdateTime: 0
- maxWireVersion: 5
- lastWrite: {lastWriteDate: {$numberLong: "1"}}
-read_preference:
- mode: Nearest
- maxStalenessSeconds: 130 # OK, must be 120 + 10 = 130 seconds.
-suitable_servers:
-- *1
-- *2
-in_latency_window:
-- *1