Skip to content

Releases: aerospike/aerospike-client-go

Major feature release

24 Mar 19:35
Compare
Choose a tag to compare

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 hit
        • connections-error-other: Connection errors other than timeouts
        • connections-error-timeout: Connection Timeout errors
        • connections-idle-dropped: The connection was idle and dropped
        • connections-pool-overflow: The command offered the connection to the pool, but the pool was full and the connection was closed
        • exceeded-max-retries: Number of transactions where exceeded maximum number of retries specified in the policy
        • exceeded-total-timeout: Number of transactions that exceeded the specified total timeout
        • total-nodes: Total number of nodes in the cluster

Minor feature and bug fix release.

20 Mar 15:52
Compare
Choose a tag to compare
  • 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 in BatchOperate commands.

Minor improvements and bug fix release.

09 Mar 16:47
Compare
Choose a tag to compare
  • 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.

08 Feb 18:24
Compare
Choose a tag to compare
  • New Features

    • [CLIENT-2170] Export MapReturnTypes, MapOrderTypes and MapWriteModes.
    • [CLIENT-2129], [CLIENT-2035] Adds Expression.Base64() and ExpFromBase64() to allow for serialization of expressions.

Minor feature release.

23 Jan 18:47
Compare
Choose a tag to compare

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 and PartitionFilter.DecodeCursor) are exported on the PartitionFilter to allow this mechanism to work.

Minor feature and bug fix release.

10 Jan 18:53
Compare
Choose a tag to compare
  • New Features

    • [CLIENT-1988] Added base64 encoding functions CDTContextToBase64 and Base64ToCDTContext for CDTContext.
  • Improvements

    • Added an example for regexp expressions in Queries.
  • Fixes

    • [CLIENT-1204] Retry logic will keep retrying on KEY_NOT_FOUND errors until policy.MaxRetries is hit or record is returned to the client.

Minor feature and bug fix release.

10 Jan 18:55
Compare
Choose a tag to compare

Minor fix release.

  • Fixes

    • [CLIENT-1204] Retry logic will keep retrying on KEY_NOT_FOUND errors until policy.MaxRetries is hit or record is returned to the client.

Minor improvements and bug fix release.

05 Dec 16:48
029420b
Compare
Choose a tag to compare
  • 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.

08 Nov 19:16
Compare
Choose a tag to compare
  • Improvements

    • [CLIENT-1959] Retry a foreground scan/query partition to a different replica when a partition unavailable error occurs.
    • [CLIENT-1957] Handle Query, QueryExecute and QueryAggregate 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 in BatchOperate take an independent policy object. We used to ignore the SendKey attribute in those policies.

Minor feature and bug fix release.

26 Oct 13:24
Compare
Choose a tag to compare
  • New Features

    • [CLIENT-1852] Add ListSetWithPolicyOp to list operations.
  • Fixes

    • [CLIENT-1852] Fix ListRemoveByIndexRangeOp index param type.
    • [CLIENT-1855] Fix an issue where ListGetByValueRangeOp, ListRemoveByValueRangeOp with nil end value return empty slice.
    • [CLIENT-1867] Fix an issue where BatchOperate returns unexpected ResultCode for successful records when a record within a batch returns an error.