...

Text file src/go.mongodb.org/mongo-driver/testdata/server-discovery-and-monitoring/rs/incompatible_ghost.yml

Documentation: go.mongodb.org/mongo-driver/testdata/server-discovery-and-monitoring/rs

     1description: "Incompatible ghost"
     2
     3uri: "mongodb://a,b/?replicaSet=rs"
     4
     5phases:
     6  - responses:
     7      -
     8        - "a:27017"
     9        - ok: 1
    10          helloOk: true
    11          isWritablePrimary: true
    12          setName: "rs"
    13          hosts: ["a:27017", "b:27017"]
    14          minWireVersion: 0
    15          maxWireVersion: 6
    16      -
    17        - "b:27017"
    18        - ok: 1
    19          helloOk: true
    20          isreplicaset: true
    21          minWireVersion: 0
    22          maxWireVersion: 1
    23    outcome:
    24      servers:
    25        "a:27017":
    26          type: "RSPrimary"
    27          setName: "rs"
    28        "b:27017":
    29          type: "RSGhost"
    30          setName:
    31      topologyType: "ReplicaSetWithPrimary"
    32      setName: "rs"
    33      logicalSessionTimeoutMinutes: ~
    34      compatible: false

View as plain text