1description: "Replica set member with default maxWireVersion of 0" 2uri: "mongodb://a,b/?replicaSet=rs" 3phases: [ 4 { 5 responses: [ 6 ["a:27017", { 7 ok: 1, 8 ismaster: true, 9 setName: "rs", 10 hosts: ["a:27017", "b:27017"], 11 minWireVersion: 0, 12 maxWireVersion: 6 13 }], 14 ["b:27017", { 15 ok: 1, 16 ismaster: false, 17 secondary: true, 18 setName: "rs", 19 hosts: ["a:27017", "b:27017"] 20 }] 21 ], 22 outcome: { 23 servers: { 24 "a:27017": { 25 type: "RSPrimary", 26 setName: "rs" 27 }, 28 "b:27017": { 29 type: "RSSecondary", 30 setName: "rs" 31 } 32 }, 33 topologyType: "ReplicaSetWithPrimary", 34 setName: "rs", 35 logicalSessionTimeoutMinutes: null, 36 compatible: false 37 } 38 } 39] 40