-
Notifications
You must be signed in to change notification settings - Fork 103
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
Unrecognized cast: {:untrack, pid} #127
Comments
fwiw, I also see these messages when running
And the test passes. When I change the Also, interestingly, when I delete the lines here, the tests still pass. |
More observationsIn the passing case, I see the following logs
Note that both nodes receive a In the failing case, I see the following logs.
Note that this time no |
It turns out, the reason why changing the |
@jesseshieh Hi, we're also seeing this error in our app, and it causes some workers to not be properly registered. It seems to happen when nodes lose connection with each other (maybe due to libcluster's Kubernetes strategy not being totally stable?), and try to reconnect again. Did your patch fix the issue? If so we'll just host the patched version in our repo and point the library to that version. Thanks. |
I can't remember if the patch fixed it or not since it was so long ago, but I've since decided to use something other than swarm so I'm not sure I'll be of much help. |
@jesseshieh what did you use instead? |
@bernardo-martinez I still saw the issue on every deployment. |
I'm not sure if it actually causes a problem or not, but my logs sometimes show lines like these
Taken from quantum-elixir/quantum-core#398
My guess is that something is sending the
:track
and:untrack
messages as casts instead of calls. This line expects the message to be a call, and this line sends the message as a call.This line, however, sends the message as a cast so my guess is this is the culprit. Perhaps simply changing it to a call will fix the issue?
I'm on swarm 3.4.0.
The text was updated successfully, but these errors were encountered: