spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Nearest.yml in mongo-2.0.0.beta vs spec/support/server_selection/selection/ReplicaSetWithPrimary/read/Nearest.yml in mongo-2.0.0.rc
- old
+ new
@@ -4,38 +4,30 @@
servers:
- &1
address: b:27017
avg_rtt_ms: 5
type: RSSecondary
- tag_sets:
- - data_center: nyc
- - &2
+ tags:
+ data_center: nyc
+ - &3
address: c:27017
avg_rtt_ms: 100
type: RSSecondary
- tag_sets:
- - data_center: nyc
- - &3
+ tags:
+ data_center: nyc
+ - &2
address: a:27017
avg_rtt_ms: 26
type: RSPrimary
- tag_sets:
- - data_center: nyc
+ tags:
+ data_center: nyc
operation: read
read_preference:
mode: Nearest
tag_sets:
- data_center: nyc
-candidate_servers:
-- *1
-- *2
-- *3
-eligible_servers:
-- *1
-- *2
-- *3
suitable_servers:
- *1
-- *3
- *2
+- *3
in_latency_window:
- *1