Started here https://github.com/arangodb/arangodb/issues/1934
it is actually mentioned but indeed not really clearly: The cluster will determine suitable leaders and followers for every requested shard (numberOfShards) within the cluster. The cluster organizes itself via the data saved in the agency and from there it knows which servers form the cluster. Each server is registered there with its address so you as the user have indeed nothing to setup ( except for passing the correct startup parameters). During collection creation the cluster will choose from the pool of dbservers which servers it should take and of course a dbserver can not be follower and leader at the same time. So unless you are starting two dbservers on the same machine leader and follower will always be on separate machines. https://docs.arangodb.com/3.0/Manual/Administration/Replication/Synchronous/Implementation.html I have read the Synchronous replication doc. Now I can understand the logic behind the Synchronous replication. But I have the same question again. You are working on Arangoddb and had knowlegde of it. But I am not able to relate or link all things. Let us I have two AWS EC2 instance with Arangodb server on everyone. So I have started an arangodb server and started the synchrounous replication on first one. So how it will know about the second instance (i.e. ip adress or location etc)? Where we provide it on main server? -- You received this message because you are subscribed to the Google Groups "ArangoDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
