-
Notifications
You must be signed in to change notification settings - Fork 75
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
Nebulex.RegistryLookupError #207
Comments
Hey! This scenario looks tricky, but based on what you say, seems like when code changes trigger recompilation or you recompile within the |
The error is continuous. It happens often like this
Only after we kill the server and restart the app it is fixed |
Ok, it is weird, I mean, I'm wondering what can cause the cache to stop, because that is what it looks like, but it is hard to tell. We will need a way to reproduce it so we can debug it and see what is happening, so, if you have like a dummy app we can use to reproduce the issue would be really helpful. |
Yes, I understand. I think it would be hard to reproduce this in a dummy repo but I can try. Quick question, when the code recompiles, I believe a new version of the code is loaded. So the existing processes that are running the old code need to be shut down and restarted with the new version of the code (my understanding, I may be incorrect). So maybe the nebulex cache process is stopping due to this code recompilation? |
That would be really helpful, thanks! A question, are you using |
These are the configurations we have in the different umbrella apps In the admin app
In the api app
In the web app
|
I've run some test scenarios to see if I can reproduce the issue but didn't succeed, they worked fine.
Most likely I'm missing something, hence, I'd definitely need you to provide a dummy app to reproduce the issue. Thanks! |
Is there any feedback about this? If not, I think we can close the issue |
We reduced the number of umbrella apps we had, we don't see this error very often right now. I am closing this issue for now. |
Hi, firstly thank you for this very useful library. We have been using Nebulex for some time, and its really good.
We are utilizing Nebulex for caching purposes, but we frequently encounter the following error
(Nebulex.RegistryLookupError) could not lookup Nebulex cache App.API.Cache.UserCache because it was not started or it does not exist
This issue often arises when code changes trigger recompilation while the server is running or when manually recompiling in the iex session. The only solution we have found is to restart the server.
To provide some context, we have an umbrella app that consists of the following apps:
This is only a problem in our development environment and not in production or staging, but because of this our development cycle becomes slower since we frequently need to restart the server to overcome this error.
Any ideas on how to solve this would be very helpful
PS: I also posted this issue along with a few other issues here in elixirforum
The text was updated successfully, but these errors were encountered: