-
Notifications
You must be signed in to change notification settings - Fork 215
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
River stops syncing with data, and the status keeps showing as Running #559
Comments
I'm assuming the above error is cause the oplog is too small, and the writes on mongo are happening too fast.. and the replication or river is not able to keep up with it. oplogs are a capped collection, when there are too many writes, older oplogs will be replaced by the newer ones.. and if river is still syncing the old logs in oplogs it will stop suddenly.. more details, from mongo connector, wiki.. https://github.com/mongodb-labs/mongo-connector/wiki/Resyncing%20the%20Connector This is what I think is happening, and the solution is to increase the op log of the mongo instances. Will update the mongo settings and check if that solved my problem and post it here. |
Hi syllogismos I am also facing the same issue. Did you find any solution? Did oplog size increasing help? If so, what are original and new oplog values. Exception: Thanks |
Increasing oplog size does help. Originally I think it was 8GB or something.. and we increased it to 30 GB. But we found that rivers are very unstable.. and very unreliable. Sometimes it even makes the elasticsearch cluster unstable. CPU maxing out and etc periodically. Even the river statuses are not shown properly. So we stopped depending on this particular plugin. Instead we forked mongo-connector to fit our needs. https://github.com/mongodb-labs/mongo-connector this is the project and this is our fork https://github.com/akgoel-mo/mongo-connector |
I have a river on a collection that is around 20Million documents. The river does the initial import normally, and keeps running for a while.. say for few days.. and then stops syncing with data anymore. And I can see the above log in the elasticsearch logs. What might be the reason for this exception.
And one more thing is that the river's status keeps showing as Running.
The text was updated successfully, but these errors were encountered: