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

Call dbms.cluster.role() requires a database as a parameter in 4.x #1606

Closed
davidfauth opened this issue Jul 29, 2020 · 0 comments
Closed

Call dbms.cluster.role() requires a database as a parameter in 4.x #1606

davidfauth opened this issue Jul 29, 2020 · 0 comments
Assignees

Comments

@davidfauth
Copy link

Expected Behavior (Mandatory)

When running the apoc.ttl functions, it makes a call to util.java to see if this instance is writeable.
On line 703, it calls:
String role = db.executeTransactionally("CALL dbms.cluster.role()", Collections.emptyMap(),

In 4.x, this throws an error as it is looking for a database name.

Actual Behavior (Mandatory)

Should provide 1 parameter in cypher , for example CALL dbms.cluster.role(‘movies’)

Versions

  • Neo4j: 4.1.0 and 4.1.1
  • Neo4j-Apoc: apoc-4.1.0.1-all.jar
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