Aerospike Go client version 5.7.0 was released on December 6, 2021.
[IMPORTANT NOTE] A bug might occur when a client performing a scan hits a “Partition Unavailable” during an unstable cluster (in both high availability (AP) and strong consistency (CP) modes). The client aborts the scan and puts the connection back into the pool, which might cause unprocessed results to be sent to a different transaction (of the same client), possibly resulting in incorrect application behavior. We strongly recommend that you upgrade to the Go client 5.10.0 at the earliest opportunity.
- The code resides in the v5 branch, and is available via the import github.com/aerospike/aerospike-client-go/v5
Improvements
- [CLIENT-1635] - Allow Preventing Retries on Exhausted Connection Pools.
- Improve
Policy.deadline()
logic to useMaxRetries
andSocketTimeout
to calculateTotalTimeout
when it is not set. - Do not test PredExp for server v5.8+.
- Explicitly remove departed nodes from the partition map on cluster change.