-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Subscription] Incorrect microservice IP #78
Comments
Here is a theory about the bug reason: This is the handling function that processes the subscription calls from microservices: minos-discovery/minos/api_gateway/discovery/views/microservice.py Lines 22 to 31 in 87f8cf8
Here is the minos-discovery/minos/api_gateway/discovery/domain/microservice.py Lines 82 to 101 in 87f8cf8
The minos-discovery/minos/api_gateway/discovery/database/client.py Lines 75 to 82 in 87f8cf8
I would bet that this bug is related with a small redis pool size, as it only support 10 simultaneous calls. This issue (#70) is intended to increase that value.
|
…ption-bug-incorrect-ip Restyle #78 - Subscription wrong IP
…ption-bug-incorrect-ip Restyle #78 - Subscription wrong IP
…-incorrect-ip #78 - Subscription wrong IP
A microservice is restarted but for some reason it does not disconnect correctly from the discovery (it does not send the unsubscribe or the discovery is already restarting and therefore does not receive the request).
later, when it tries to connect to the discovery, it says that it is already connected, so it does not update the IP assuming that it keeps the same one (that would be the bug).
And after restarting the microservice once again, the unsubscribe is done.
And then, after restarting the microservice again, it does the subscribe again, and in this case it registers the correct IP of the microservice.
The text was updated successfully, but these errors were encountered: