We’ve been using Aerospike for a while and are using the Python Client to connect and query the same. The DB was set on a single node till now. We’ve been trying to setup the cluster on the same by using the Mesh mode of communication in AWS. We’ve changed the configuration on both the instances we are running to include the other instance details (private-ip) to connect to. Post restarting the DB server on the initial instance and starting DB server on newer instance, I could see the data getting distributed between the two and few minutes later both were in sync in terms on number of objects present (both as master and replica) using show sets command.
Till now it is all fine. But the client using trying to connect to the cluster, which has both the instances configured in the Hosts, has been taking order of seconds to connect and close the connection. Whereas previously it was order of milli-seconds.
Can I get some pointers on what I could be doing wrong and ways to fix the same. Please let me know if any additional details are required.