Closed blink1073 closed 2 years ago
Alternative to #853
Depends on https://github.com/rueckstiess/mtools/pull/876 for CI fix.
In https://github.com/rueckstiess/mtools/issues/859#issuecomment-1136026968 I enumerate the locations where direct connection is needed. We use mtools to launch all possible configurations so this should be the complete list.
Fixed by way of 1b9905f
Description of changes
Only add
directConnection=True
when not connecting to a replica set.Testing
launch init --replicaset --name repl0 --nodes 3 --port 27017 --hostname localhost