-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support read preferences in URI parser.
This will parse and add read preference options from the uri parser and add them to the connection options when asking for them. This makes the assumption that we must be in a replica set to set the options, and will override the slaveOk flag if it is also present. The fix for RUBY-541 will change this slightly to assume it can be set for replica sets and sharded clients. [ RUBY-547 ]
- Loading branch information
Showing
2 changed files
with
128 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters