...

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

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

     1description: Primary mismatched me
     2phases:
     3  - outcome:
     4      servers:
     5        'a:27017':
     6          setName: null
     7          type: Unknown
     8        'b:27017':
     9          setName: null
    10          type: Unknown
    11      setName: rs
    12      topologyType: ReplicaSetNoPrimary
    13      logicalSessionTimeoutMinutes: null
    14    responses:
    15      - - 'localhost:27017'
    16        - me: 'a:27017'
    17          hosts:
    18            - 'a:27017'
    19            - 'b:27017'
    20          helloOk: true
    21          isWritablePrimary: true
    22          ok: 1
    23          setName: rs
    24          minWireVersion: 0
    25          maxWireVersion: 6
    26uri: 'mongodb://localhost:27017/?replicaSet=rs'
    27

View as plain text