aerospike-client-go icon indicating copy to clipboard operation
aerospike-client-go copied to clipboard

BatchGet MAX_RETRIES_EXCEEDED error code

Open Pickausernaame opened this issue 3 years ago • 1 comments

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

Pickausernaame avatar May 09 '22 15:05 Pickausernaame

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.

khaf avatar May 10 '22 15:05 khaf

Closing due to inactivity. Don't hesitate to reopen or file a new ticket.

khaf avatar Sep 14 '22 17:09 khaf