...

Text file src/go.mongodb.org/mongo-driver/testdata/server-selection/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.json

Documentation: go.mongodb.org/mongo-driver/testdata/server-selection/server_selection/ReplicaSetNoPrimary/read

     1{
     2  "topology_description": {
     3    "type": "ReplicaSetNoPrimary",
     4    "servers": [
     5      {
     6        "address": "b:27017",
     7        "avg_rtt_ms": 5,
     8        "type": "RSSecondary",
     9        "tags": {
    10          "data_center": "nyc"
    11        }
    12      },
    13      {
    14        "address": "c:27017",
    15        "avg_rtt_ms": 100,
    16        "type": "RSSecondary",
    17        "tags": {
    18          "data_center": "nyc"
    19        }
    20      }
    21    ]
    22  },
    23  "operation": "read",
    24  "read_preference": {
    25    "mode": "Secondary",
    26    "tag_sets": [
    27      {
    28        "data_center": "sf"
    29      }
    30    ]
    31  },
    32  "suitable_servers": [],
    33  "in_latency_window": []
    34}

View as plain text