Releases: aerospike/aerospike-client-go
Releases · aerospike/aerospike-client-go
Minor
-
New Features
- Add
ClientPolicy.SeedOnlyCluster
inClientPolicy
for using only seed nodes for connection. (Github #407) thanks to Sudhanshu Ranjan - [CLIENT-2307] Add
ExpInfinityValue()
andExpWildCardValue()
- Add
-
Improvements
- [CLIENT-2317] Better handle setting the
Error.InDoubt
flag in commands - [CLIENT-2379] Fix returning overall batch error
- Move particle type outside of internal and back to
types/
dir. - Updated dependencies to address security advisories.
- Improve tests in slow environments.
- Remove atomic integer operations, move to
Mutex
. - [CLIENT-2315] Use
BatchReadPolicy
inBatchRead
instead ofBatchPolicy
. - [CLIENT-2312] Remove support for old-style queries in very old server versions.
- [CLIENT-2265] Increase the required Go version to 1.17 to be able to compile a dependency which itself was updated due to security issues.
- [CLIENT-2317] Better handle setting the
-
Fixes
- Removes race condition from the client, resolves #399.
- [CLIENT-2339] Developer tests detecting race condition after updating query protocol.
- Assign
DefaultInfoPolicy
on Client initialization. - Fixed panics in Read Command Reflection API. (Github #402) thanks to Yegor Myskin
- [CLIENT-2283] Set correct return types in list/map read expressions.
- [CLIENT-2316], [CLIENT-2317]
BatchResult
Err
andResultCode
are not always set on errors, Incorrect in-doubt flag handling during batch operation.
v4.7.1
Minor maintenance release
-
Improvements
- Upgraded lua and gomega dependencies to the latest versions.
- Move particle type back from internal to types.
Hotfix release.
We recommend updating to this version if you are using v4.6.0.
-
Fixes
- [CLIENT-2268] Fix memory issue with the v4.6.0 release due to a miscaptured pointer in closure.
- Set
BatchPolicy.DirectGetThreshold = 0
by default, disabling the feature unless manually enabled.
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