-
Notifications
You must be signed in to change notification settings - Fork 19
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
ETS table from eredis_cluster_monitor not found at start-up #63
Comments
Hi Luiz! Tudo bem? The ETS table is created in init if you have a config file that defines where |
Tudo bem! :) After trying many things, I was able to make it work by placing :eredis_cluster in |
I think the eredis_cluster application needs to be started before the other application where you use it during init, so it's already started when you use it. I don't know how to do that in an Erlang release, even less in Elixir, sorry! 😬 If you figure it out, please post the solution here for future reference. |
After thinking about it a bit more, I think you should make https://www.erlang.org/doc/man/app.html (Erlang, but I suppose it's similar for Elixir)
|
I don't think so. It is part of the supervision tree of eredis_cluster so it should be started synchronously. |
Hi, here's a summary of what's been happening:
:eredis_cluster
.However, when trying to boot the application in staging, I'm getting the below error and the system crashes.
If :eredis_cluster has been started at this point, how come the ETS table for
eredis_cluster_monitor
isn't present yet?Please let me know if you need more details and thanks!
The text was updated successfully, but these errors were encountered: