-
Notifications
You must be signed in to change notification settings - Fork 268
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
high CPU usage when replica set node down #171
Comments
Hi. Yes, this is a known problem. |
Any update on this? |
I am having the same issue -
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we shutdown one node of a replica set, the beam process consumes about 120%(multiple cores) CPU.
After some debugging, we found when any node down, the mc_monitor:check will crash on line
{ok, Conn} = mc_worker_api:connect(ConnectArgs)
because of unmatch between{error, econnrefused}
and{ok, Conn}
. This will make mc_monitor step into dead loop(no sleep because the Type is unknown).The text was updated successfully, but these errors were encountered: