Skip to content

RUBY-949 Initialize topologies to Unknown and discover standalones #641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 24, 2015

Conversation

estolfo
Copy link
Contributor

@estolfo estolfo commented Jun 23, 2015

This pull request adds a StandaloneDiscovered event and always sets a topology to Unknown if :connect is not explicitly specified.

This will allow a Cluster Topology to be set to Sharded in the case that a single mongos is discovered.

@estolfo estolfo force-pushed the RUBY-949-single-mongos branch from 5d439c0 to 97d1b50 Compare June 23, 2015 15:29
@estolfo estolfo force-pushed the RUBY-949-single-mongos branch from 97d1b50 to bc98ba9 Compare June 24, 2015 14:36
estolfo added a commit that referenced this pull request Jun 24, 2015
RUBY-949 Initialize topologies to Unknown and discover standalones
@estolfo estolfo merged commit 4a65e04 into mongodb:2.0-stable Jun 24, 2015
@estolfo estolfo deleted the RUBY-949-single-mongos branch July 3, 2015 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant