Skip to content

Releases: aerospike/aerospike-client-go

Major Improvements

11 Mar 16:54
Compare
Choose a tag to compare
  • Improvements

    • Significantly improves Batch/Scan/Query/UDF/QueryAggregate performance, up to 10x depending on the number of records.
  • Changes

    • Removes BatchPolicy.UseBatchDirect from the code since it is not supported on the server anymore.

Minor feature and improvements

21 Feb 13:56
Compare
Choose a tag to compare
  • New Features

    • Support new server truncate-namespace command via Client.Truncate when set is not specified.
  • 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.

03 Dec 15:40
Compare
Choose a tag to compare
  • New Features

    • Support lut-now parameter for Client.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 and WILDCARD values for use in CDT map/list comparators.
  • Improvements

    • Increase default Policy.SocketTimeout to 30s. If SocketTimeout is longer than Timeout, 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.
  • 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.

01 Nov 15:31
Compare
Choose a tag to compare

Feature Release.

  • New Features

    • Support rackaware feature. You need to set the ClientPolicy.RackAware = true, and set the ClientPolicy.RackId. All read operations will try to choose a node on the same rack if Policy.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.
  • 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 the Operate command if policy.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

02 Oct 12:48
Compare
Choose a tag to compare
  • Improvements

    • Do not allocate a partition map on each tend unless needed.
    • Adds ConnectionsClosed stat and sets the connection and dataBuffer 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.

18 Sep 19:45
Compare
Choose a tag to compare

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

29 Aug 18:29
Compare
Choose a tag to compare
  • New Features

    • Support for external authentication (LDAP).
    • Support Map and List WriteFlags: NoFail and Partial.
    • Support load balancers as seed node.
  • Changes

    • Change default Scan/Query ServerSocketTimeout to 30s.
  • Improvements

    • Adds QueryPolicy.ServerSocketTimeout and QueryPolicy.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.
  • Fixes

    • Fix a few go vet errors for Go 1.11.
    • Fixes minor unsigned length conversions for admin command.

Fix Release.

29 Aug 16:07
Compare
Choose a tag to compare
  • Fixes

    • Use pointer receiver for AerospikeError.SetInDoubt and AerospikeError.MarkInDoubt.
    • Remove unused variable in truncate test.
  • 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.

09 Aug 10:27
Compare
Choose a tag to compare

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

17 Jul 17:27
Compare
Choose a tag to compare
  • 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
  • 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.