diff options
Diffstat (limited to 'src/mongo/client/sdam/json_tests/server_selection_tests/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.json')
-rw-r--r-- | src/mongo/client/sdam/json_tests/server_selection_tests/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mongo/client/sdam/json_tests/server_selection_tests/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.json b/src/mongo/client/sdam/json_tests/server_selection_tests/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.json new file mode 100644 index 00000000000..b72895d8a83 --- /dev/null +++ b/src/mongo/client/sdam/json_tests/server_selection_tests/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.json @@ -0,0 +1,34 @@ +{ + "topology_description": { + "type": "ReplicaSetNoPrimary", + "servers": [ + { + "address": "b:27017", + "avg_rtt_ms": 5, + "type": "RSSecondary", + "tags": { + "data_center": "nyc" + } + }, + { + "address": "c:27017", + "avg_rtt_ms": 100, + "type": "RSSecondary", + "tags": { + "data_center": "nyc" + } + } + ] + }, + "operation": "read", + "read_preference": { + "mode": "Nearest", + "tag_sets": [ + { + "data_center": "sf" + } + ] + }, + "suitable_servers": [], + "in_latency_window": [] +} |