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

TailableIterator can time out if kept alive for longer than MongoDB cursor timeout #329

Open
laserval opened this issue Apr 23, 2014 · 0 comments

Comments

@laserval
Copy link
Contributor

It seems that a TailableIterator that is kept alive for longer than the default MongoDB cursor timeout of 10 minutes, will be garbage collected in the MongoDB server. See https://jira.mongodb.org/browse/SERVER-12200

One case this will happen is if some service is listening to processed, failed or discarded documents in the oldDocuments collection.

Some solutions:

Related issue concerning tailable and awaitdata: https://jira.mongodb.org/browse/JAVA-1091

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant