Releases: aerospike/aerospike-client-go
Releases · aerospike/aerospike-client-go
Major Improvements
-
Improvements
- Significantly improves
Batch
/Scan
/Query
/UDF
/QueryAggregate
performance, up to 10x depending on the number of records.
- Significantly improves
-
Changes
- Removes
BatchPolicy.UseBatchDirect
from the code since it is not supported on the server anymore.
- Removes
Minor feature and improvements
-
New Features
- Support new server
truncate-namespace
command viaClient.Truncate
whenset
is not specified.
- Support new server
-
Improvements
- The client will not clear a partition map entry when a node reports that it no longer owns that partition entry until another node claims ownership.
- Adapt UDF test for new server changes. The server will not return an error after
RemoveUDF
if the UDF did not exist. - Improves a few tests and relaxes tolerances in tests to accommodate slower cloud test environments.
-
Fixes
- Fixes a race condition in XOR shift RNG.
- Fixes a race condition in the
AdminCommand
.
Feature and improvements release.
-
New Features
- Support
lut-now
parameter forClient.Truncate()
in servers that support and require it. - Added support for CDT Map Relative Ops:
MapGetByKeyRelativeIndexRangeOp
,MapGetByKeyRelativeIndexRangeCountOp
,MapGetByValueRelativeRankRangeOp
,MapGetByValueRelativeRankRangeCountOp
,MapRemoveByKeyRelativeIndexRangeOp
,MapRemoveByKeyRelativeIndexRangeCountOp
. - Added support for CDT List Relative Ops:
ListGetByValueRelativeRankRangeOp
,ListGetByValueRelativeRankRangeCountOp
,ListRemoveByValueRelativeRankRangeOp
,ListRemoveByValueRelativeRankRangeCountOp
. - Added
INFINITY
andWILDCARD
values for use in CDT map/list comparators.
- Support
-
Improvements
- Increase default
Policy.SocketTimeout
to 30s. IfSocketTimeout
is longer thanTimeout
,Timeout
will be used instead silently. This change is done for the client to perform more intuitively in cloud environments. - Never return a random node if a node was not found in the partition map.
- Return more descriptive error messages on various partition map and other node related errors.
- Increase default
-
Changes
- Remove the ability to force old batch direct protocol on the client because the server will be removing support for the old batch direct protocol. This is an incompatible change.
- Update admin message version to 2.
- Remove unused error codes.
- Remove Go 1.7 and 1.8 from travis tests due to incompatibility with the test framework.
Feature and improvements release.
Feature Release.
-
New Features
- Support rackaware feature. You need to set the
ClientPolicy.RackAware = true
, and set theClientPolicy.RackId
. All read operations will try to choose a node on the same rack ifPolicy.ReplicaPolicy = PREFER_RACK
. This feature is especially useful when the app/cluster are on the cloud and network throughput over different zones are price differently.
- Support rackaware feature. You need to set the
-
Improvements
- Update Operate command documentation.
- Improve an expectation in a CDT Map test.
- Move UDF object test to the proper file.
- Support
float64
struct fields when the value of the field has been changed inside lua and set to int - will only affect clusters which support float. - Fixes an issue where key value was sent and cause server
PARAMETER_ERROR
via theOperate
command ifpolicy.SendKey
was set but no write operations were passed. - Updated README example with clarification.
-
Fixes
- Fixes an issue where multiple operation results for a bin would be appended to the first result if it was a list.
Improvment release
-
Improvements
- Do not allocate a partition map on each tend unless needed.
- Adds
ConnectionsClosed
stat and sets the connection anddataBuffer
to nil in a few places to help the GC. - Use a heap data structure for connection pooling instead of a queue.
This allows better management of connections after a surge, since it keeps the unused connection in the bottom of the heap to close.
It also helps with performance a bit due to better caching of the data structure in CPU.
Hot Fix Release.
Hot fix release. We recommend updating to this version if you are using authentication.
-
Fixes
- Fixes a regression to avoid hashing passwords per each login using the cached password.
-
Changes
- Minor code clean up and dead code removal.
Major Feature Release
-
New Features
- Support for external authentication (LDAP).
- Support Map and List WriteFlags:
NoFail
andPartial
. - Support load balancers as seed node.
-
Changes
- Change default Scan/Query
ServerSocketTimeout
to 30s.
- Change default Scan/Query
-
Improvements
- Adds
QueryPolicy.ServerSocketTimeout
andQueryPolicy.FailOnClusterChange
for when the queries are automatically converted to scans. - Minor documentation improvements.
- Synchronize logging at all situations.
- Add
-debug
switch to allow logging at debug level in tests. - Allow the user to define the namespace for tests to run on.
- Adds
-
Fixes
- Fix a few go vet errors for Go 1.11.
- Fixes minor unsigned length conversions for admin command.
Fix Release.
-
Fixes
- Use pointer receiver for
AerospikeError.SetInDoubt
andAerospikeError.MarkInDoubt
. - Remove unused variable in truncate test.
- Use pointer receiver for
-
Changes
- Add Go 1.11 to Travis' test versions.
- Use the last error code in MaxRetries timeout errors for Go 1.11.
Hot Fix Release.
Hot fix release. We recommend updating to this version asap, especially if you are using the Strong Consistency feature.
-
Fixes
- Fixes an issue where a race condition was preventing the partition table to form correctly. (CLIENT-1028)
Improvements Release
-
Changes
- Removed the LDT code completely.
- Adds build tag
app_engine
for compatibility with Google's App Engine. Query Aggregate features are not available in this mode due to lua limitations.
-
Improvements
- Document how to use
AerospikeError
type in the code. - Allow
Task.OnComplete()
to be listened to by multiple goroutines. Thanks to HArmen
- Document how to use
-
Fixes
- Fixes an issue where
ClientPolicy.FailIfNotConnected
flag was not respected. - Fix a merging issue for
PartitionMap
, and add a naive validation for partition maps.
- Fixes an issue where