mongodb/mongo-java-driver — pull request #72 by dampier (2012-04-21 03:51:02+00:00)
Title: JAVA-284 : add support for 'replicaSet' option in MongoURI

… and use it to enable replica set connections from lone seed hosts.

Note: so far, this patch is only a partial fix. Specifically, it does *not* attempt to verify, upon connecting, that the specified `replicaSet` is actually the one we reached. [JAVA-284](https://jira.mongodb.org/browse/JAVA-284) rightly suggests that would be a Good Idea.