aerospike / aerospike-client-go

Aerospike Client Go
Apache License 2.0
429 stars 199 forks source link

BatchGet MAX_RETRIES_EXCEEDED error code #370

Closed Pickausernaame closed 1 year ago

Pickausernaame commented 2 years ago

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

khaf commented 2 years ago

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 commented 1 year ago

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