Releases: aerospike/aerospike-client-go
Releases · aerospike/aerospike-client-go
Major feature release
NOTICE: This version has a major bug if the BatchPolicy.DirectGetThreshold
is set to values larger than 0. Update to v4.6.1 if you are using Batch commands.
We recommend testing your app vigorously before deploying this version if you depend on batch requests.
-
New Features
- [CLIENT-2238] Convert batch calls with just a few keys per node in sub-batches to sequential Get requests. If the number keys for a sub-batch to a node is equal or less then the value set in
BatchPolicy.DirectGetThreshold
, the client use direct get instead of batch commands to reduce the load/latency on the server. - [CLIENT-2240] Add more client statistics.
- Adds the following statistics:
circuit-breaker-hits
: Number of times circuit breaker was hitconnections-error-other
: Connection errors other than timeoutsconnections-error-timeout
: Connection Timeout errorsconnections-idle-dropped
: The connection was idle and droppedconnections-pool-overflow
: The command offered the connection to the pool, but the pool was full and the connection was closedexceeded-max-retries
: Number of transactions where exceeded maximum number of retries specified in the policyexceeded-total-timeout
: Number of transactions that exceeded the specified total timeouttotal-nodes
: Total number of nodes in the cluster
- Adds the following statistics:
- [CLIENT-2238] Convert batch calls with just a few keys per node in sub-batches to sequential Get requests. If the number keys for a sub-batch to a node is equal or less then the value set in
Minor feature and bug fix release.
-
Improvements
- [CLIENT-2235] Minor documentation cleanup. Formatting, clarification and TODOs for next major version.
- [CLIENT-2234] Export
BatchRead.Policy
- Update Ginkgo and Gomega to the latest version to avoid security issues.
-
Fixes
- [CLIENT-2230] The first row of batch records represented a server error instead of the overall error in the call.
- [CLIENT-2233] Wrong
FilterExpression
size calculation inBatchOperate
commands.
Minor improvements and bug fix release.
-
Improvements
- [CLIENT-2116] Check for completion/cancellation of the Scan/Query before firing off commands to nodes.
-
Fixes
- [CLINET-2227] PARAMETER_ERROR using expressions and batch write. Wire protocol was violated when the estimateExpressionSize was called.
Minor feature release.
-
New Features
- [CLIENT-2170] Export
MapReturnTypes
,MapOrderTypes
andMapWriteModes
. - [CLIENT-2129], [CLIENT-2035] Adds
Expression.Base64()
andExpFromBase64()
to allow for serialization of expressions.
- [CLIENT-2170] Export
Minor feature release.
This is a re-release, and redacts and supersedes the version 6.9.0.
- New Features
- [CLIENT-2138] Allow
PartitionFilter
to persist its cursor and retrieve the encoded cursor back to allow pagination. While the Go client supported pagination, it did not export the necessary data structures to allow that cursor to be persisted by the user. These data structures remain private, but two methods (PartitionFilter.EncodeCursor
andPartitionFilter.DecodeCursor
) are exported on thePartitionFilter
to allow this mechanism to work.
- [CLIENT-2138] Allow
Minor feature and bug fix release.
-
New Features
- [CLIENT-1988] Added base64 encoding functions
CDTContextToBase64
andBase64ToCDTContext
forCDTContext
.
- [CLIENT-1988] Added base64 encoding functions
-
Improvements
- Added an example for regexp expressions in Queries.
-
Fixes
- [CLIENT-1204] Retry logic will keep retrying on
KEY_NOT_FOUND
errors untilpolicy.MaxRetries
is hit or record is returned to the client.
- [CLIENT-1204] Retry logic will keep retrying on
Minor feature and bug fix release.
Minor fix release.
-
Fixes
- [CLIENT-1204] Retry logic will keep retrying on
KEY_NOT_FOUND
errors untilpolicy.MaxRetries
is hit or record is returned to the client.
- [CLIENT-1204] Retry logic will keep retrying on
Minor improvements and bug fix release.
-
Improvements
- Improves testing for float64 precision formatting between amd64 and aarch64.
-
Fixes
- [CLIENT-2019] Write Batch operation with an invalid namespace record causes all batch transactions to fail.
- [CLIENT-2020] Support
QueryPartitions
with non-nil filter (secondary index query)
Minor improvements and bug fix release.
-
Improvements
- [CLIENT-1959] Retry a foreground scan/query partition to a different replica when a partition unavailable error occurs.
- [CLIENT-1957] Handle
Query
,QueryExecute
andQueryAggregate
on non-existing sets without timing out. - [CLIENT-1956] Return an error when a read operation is used in a background query.
-
Fixes
- [CLIENT-1958] Prevent division by zero if the node array is empty in
Cluster.GetRandomNode()
. - [CLIENT-1955] Allow
BatchPolicy.SendKey
to be applied to all batch keys in all batch commands. Batch commands used inBatchOperate
take an independent policy object. We used to ignore theSendKey
attribute in those policies.
- [CLIENT-1958] Prevent division by zero if the node array is empty in
Minor feature and bug fix release.
-
New Features
- [CLIENT-1852] Add
ListSetWithPolicyOp
to list operations.
- [CLIENT-1852] Add
-
Fixes
- [CLIENT-1852] Fix
ListRemoveByIndexRangeOp
index param type. - [CLIENT-1855] Fix an issue where
ListGetByValueRangeOp
,ListRemoveByValueRangeOp
withnil
end value return empty slice. - [CLIENT-1867] Fix an issue where
BatchOperate
returns unexpectedResultCode
for successful records when a record within a batch returns an error.
- [CLIENT-1852] Fix