Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot use multiple replicaset instances which run on different ports #46
It's not possible to use the _HOST config key with port numbers included because the host and port values are being concatenated.
This is particularly problematic when using several seeds to connect to a replicaset:
The better way to do this is to pass the port number to the pymongo connection class (mongoclient or mongoreplicaset client) and leave pymongo to decide on whether to use the port
…ying to append it to the host value. Resolves issue dcrosta#46. Added a test for this behaviour.