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 emptyCheckInterval option to improve performance #335

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quentins
Copy link

@quentins quentins commented Oct 9, 2015

In the case where a replicaset doesn't have any docs matching the
target namespaces (which happens with tag aware sharding), we don't
want to keep generating (empty) oplog cursors on that replica set.
This option uses a cheaper db.collection.count() call to see if
a replica set has any matching docs and waits a configurable amount
of time before checking again.

In the case where a replicaset doesn't have any docs matching the
target namespaces (which happens with tag aware sharding), we don't
want to keep generating (empty) oplog cursors on that replica set.
This option uses a cheaper `db.collection.count()` call to see if
a replica set has any matching docs and waits a configurable amount
of time before checking again.
@aherlihy
Copy link
Contributor

I've restarted the travis build because it seems it failed for unrelated reasons.

@aherlihy aherlihy self-assigned this Apr 25, 2016
@aherlihy aherlihy removed their assignment Aug 11, 2016
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.

2 participants