Skip to content
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

Collection Hooks stops working #252

Open
namirsab opened this issue Jun 7, 2019 · 2 comments
Open

Collection Hooks stops working #252

namirsab opened this issue Jun 7, 2019 · 2 comments

Comments

@namirsab
Copy link
Contributor

namirsab commented Jun 7, 2019

Hi everyone
We have a weird issue that makes collection hooks not to run (the callbacks are not even run)
for some weird reason some times.
We have a cluster of 10 instances for our application, and some of them get "corrupted" and don't trigger the hooks any more.

Is there anything that could cause this? It's really weird, because it's not data related as in the other instances is working.

I'm trying to read the code to find a condition that would prevent the hooks to run, but I didn't find anything yet.
Can maybe someone point me or guide me?

@evolross
Copy link
Contributor

evolross commented Jun 7, 2019

Weird. Never seen that one.

I did have a weird bug where Collection updates inside of callbacks of Collection updates using direct would also fire as direct even when not using that directive, but there's a work-around.

This doesn't sound like that issue if the entire container gets affected. I'm assuming the actual Collection transaction still fires - e.g. the update, insert, etc. still works? Just without the hook firing?

@namirsab
Copy link
Contributor Author

@evolross exactly, the transaction happens, but the hook is just not triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants