aerospike-client-go
aerospike-client-go copied to clipboard
BatchGet MAX_RETRIES_EXCEEDED error code
Hi, I have a cluster with 3 nodes and replica factor 2. Client version is 5.8.0 When I get a single bin - everything is successful, but getting butch always return MAX_RETRIES_EXCEEDED error code.
// success
client.Get(nil, key, valueBinName)
// MAX_RETRIES_EXCEEDED
client.BatchGet(nil, []*as.Key{key}, valueBinName)
Maybe I'm doing something wrong:) pls help
Are you warming up your client? Before running your stress tests or going to production, you always need to call client.WarmUp(0) to fill up the connection pools.
Closing due to inactivity. Don't hesitate to reopen or file a new ticket.