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

Problem with storing data into systemdb in a Cluster env #52

Open
neo-technology-build-agent opened this issue Sep 1, 2022 · 2 comments

Comments

@neo-technology-build-agent
Copy link
Collaborator

Issue by conker84
Thursday Sep 02, 2021 at 14:11 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#2194


Related to (#2193) in a cluster env the systemdb can have a LEADER in a different instance where the actual call apoc.trigger.add happened.

We have a couple of options here but I need to discuss them with @fbiville @JMHReif & @jexp

@neo-technology-build-agent
Copy link
Collaborator Author

Comment by AdrienLemaire
Tuesday Dec 07, 2021 at 06:43 GMT


@conker84 @fbiville @JMHReif @jexp
Hi, I've just stumbled against this issue.
After setting a trigger in my local environment, I failed to deploy this feature to the neo4j cluster environment, and realized that only the system leader allows for apoc.trigger.add when my db leader is on another node.

I wish the documentation mentioned that triggers aren't yet supported on clusters.
What are the couple of options available ? Is there anything I can do to get triggers to work in my cluster and not throw away all the work involving neo4j triggers I'm trying to release ?

Running neo4j 4.1 on the GCP marketpace neo4j enterprise causal cluster. Thank you for your support

Edit: As a temporary solution, I removed the core replicas, replacing them with one standalone leader and read replicas.

@ncordon
Copy link
Collaborator

ncordon commented Sep 14, 2022

Hi @AdrienLemaire, sorry for the delay, we are working on a solution for this. We'll keep you posted

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