Skip to content
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

Add a capability to set a timeout on the connection of mongos and mongod shards #1243

Open
wants to merge 1 commit into
base: releases/tokumx-1.4
Choose a base branch
from
Open

Add a capability to set a timeout on the connection of mongos and mongod shards #1243

wants to merge 1 commit into from

Conversation

AlexK0
Copy link

@AlexK0 AlexK0 commented Feb 19, 2016

Hello, we faced the following problem: when one shard with mongod becomes unavailable ( connection is refused, e.g. a box is powered off; when mongos can't get some response from mongod within the adequate time), all mongoses from a shard cluster begin slowing down. It makes all mongos wait for some response from the dead shard. As result, all mongoses start timouting. This patch introduces a new parameter for mongos which allows to set a timeout on the connection between mongoses and shards.

@AlexK0
Copy link
Author

AlexK0 commented Feb 19, 2016

Sorry, I miss that latest release is 2.0.2. Please consider this patch for 2.0.2.

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