-
Notifications
You must be signed in to change notification settings - Fork 478
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
Process is not killing itself on fatal error (docker) #690
Comments
Can you post the trackback you're seeing in the logs? Also what version of mongo-connector and elastic-doc-manager are you running? Seems related to yougov/elastic2-doc-manager#18 |
I am using elastic2-doc-manager version 0.3.0 and mongo-connector`s version from the latest commit on master branch. Should handle this. |
Mapping the error to |
I can`t export the traceback but, The error is: Maybe it is not exit because I used |
Have there been any updates on this? I'm still seeing this issue! |
I am using docker (via OpenShift) with Mongo Connector and elastic2-doc-manager in their latest versions.
Everything is ok until I am getting for any reason
ReadTimeoutError
because one of the requests to the Elastic took more than 10sec.In this case, the mongo-connector should send a SIGNAL to kill itself, It will help the Docker restart automatically (recover) and try to continue from the last oplog entry.
In my case, I noticed that the connector was "stuck" in this error for about 20 hours, And when I restarted it manually the connector failed to trace in time the changes happened in the MongoDB (there are about 20,000 updated per hour).
The text was updated successfully, but these errors were encountered: