Before upgrade of neo4j from 4.4 to 5.26.0, we have leader and follower concept. When we try to load the data, we will place the file in leader node import folder and load the data.
Now in newer version the leader and follower concept changed to primary and secondary. As per the documentation if we are running 3 node cluster, they recommended to maintain all as primary nodes. So now which node will act as leader is my doubt. In which server I need to place the file to import the data. How can I identify the leader node.
the leader/follower concepts still exits in v5 though its somewhat different compared to v4. With v4 a single server could host N databases and that server was defined as either a LEADER or FOLLOWER for all N databases. With v5, the leader / follower concept is no longer tied to the server itself but rather to a database. For example server A could host 5 database of which database A and D are in leader mode and database B, C and E are in follower mode. Also a show databases will report a writer boolean representing if the member is a leader or not