...

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

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

     1{
     2  "topology_description": {
     3    "type": "LoadBalanced",
     4    "servers": [
     5      {
     6        "address": "g:27017",
     7        "avg_rtt_ms": 0,
     8        "type": "LoadBalancer"
     9      }
    10    ]
    11  },
    12  "operation": "read",
    13  "read_preference": {
    14    "mode": "Primary"
    15  },
    16  "suitable_servers": [
    17    {
    18      "address": "g:27017",
    19      "avg_rtt_ms": 0,
    20      "type": "LoadBalancer"
    21    }
    22  ],
    23  "in_latency_window": [
    24    {
    25      "address": "g:27017",
    26      "avg_rtt_ms": 0,
    27      "type": "LoadBalancer"
    28    }
    29  ]
    30}

View as plain text