Skip to content

Conversation

@OskarDamkjaer
Copy link
Contributor

In modern version of neo4j the cluster role is available through SHOW DATABASES so we don't have to run CALL dbms.cluster.role() YIELD role to get it.

@OskarDamkjaer OskarDamkjaer force-pushed the use_cluster_role_from_show_databases branch from 1682967 to 7fdf664 Compare June 7, 2022 15:42
@OskarDamkjaer OskarDamkjaer force-pushed the use_cluster_role_from_show_databases branch from 7fdf664 to 6da39ec Compare June 7, 2022 15:43
@OskarDamkjaer OskarDamkjaer requested a review from eijawerner June 8, 2022 08:29
import { GlobalState } from 'project-root/src/shared/globalState'

const NEO4J_4_0 = '4.0.0-alpha01'
const NEO4J_5_0 = '4.0.0-alpha01'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy mistake :)

@OskarDamkjaer OskarDamkjaer requested a review from eijawerner June 8, 2022 08:46
@OskarDamkjaer OskarDamkjaer merged commit 3a57919 into neo4j:master Jun 8, 2022
@OskarDamkjaer OskarDamkjaer changed the title Use cluster role from show databases if available Read cluster role from SHOW DATABASES rather than deprecated dbms.cluster.role Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants