Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Added retry mechanism for isCapped check - #179

Open
dushyantbangal wants to merge 1 commit into
moscajs:masterfrom
dushyantbangal:master
Open

Added retry mechanism for isCapped check#179
dushyantbangal wants to merge 1 commit into
moscajs:masterfrom
dushyantbangal:master

Conversation

@dushyantbangal

Copy link
Copy Markdown

Please note: When the database is taken down at

handleCursorClosed -> We're now ready. Poll
checkCappedAndPoll
checkCappedAndPoll -> Cannot stat isCapped. Retry
checkCappedAndPoll

and restarted after a minute or so, nothing happens.

This also happens my in your

handleCursorClosed -> Wait for the database to be connected

I think it keeps waiting for the mongodb to reply, but doesn't get any timeout error from mongodb driver.

@coveralls

coveralls commented Aug 18, 2017

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.5%) to 92.397% when pulling 59e59d5 on dushyantbangal:master into bc72263 on mcollina:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants