I want to connect my application to multiple hosts using the below code. Say if the record is written to host1, the how can I retrieve my record from the same host? The language I am using is C#.
Host[] hosts = new Host[2];
hosts[0] = new Host("host1", 3000);
hosts[1] = new Host("host2", 3000);
AerospikeClient client = new AerospikeClient(policy, hosts);