Hi
I have 6 node multi-dataCentre cluster, all are CORE nodes.
3 nodes are in US(called DC site) and 3 nodes are in ASIA (called DR site).
I have given following in neo4j.conf file :
dbms.mode=CORE
causal_clustering.minimum_core_cluster_size_at_formation=3
causal_clustering.minimum_core_cluster_size_at_runtime=3
My requirement is leader should always be elected from DC site and only when DC goes down leader should be elected from DR site
and 3 node cluster should work with both read and write.
I have tried with causal_clustering.refuse_to_be_leader=true on DR site but it didn't help because i need to reconfigure DR when DC goes down.
Thanks
Danny