In a Neo4J Causal Clustering, implemented using 3 AWS EC2 Instances, should the data be written only to Leader Node or can it be written to any Follower Nodes?
On a causal cluster writes can only be performed by the leader.
When connecting if you connect as bolt+routing://:7678 then the connection is cluster aware and thus if you send a write transaction, i.e session.writeTransaction then even if <instance>
was a follower the transaction will be auto routed to the leader. Note in 4.2 bolt+routing:// is replaced by neo4j://
2 Likes
Thank You @dana_canzano for the information