-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update module github.com/aerospike/aerospike-client-go/v6 to v7 #30261
fix(deps): update module github.com/aerospike/aerospike-client-go/v6 to v7 #30261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, blocked by #30101
Why is this blocked by Go 1.21? I would expect to see |
For some reason this isn't actually updating to v7, go1.21 is in v7's |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
c677d28
to
8c2f6ad
Compare
8c2f6ad
to
5369422
Compare
99bd73c
to
ec1ebaa
Compare
ec1ebaa
to
305a38a
Compare
Pinging code owners on this one: @djaglowski @antonblock |
Sorry, I was running a stale image. I'm no longer seeing the conflict, but am seeing the |
305a38a
to
38e4a9e
Compare
@mx-psi @dmitryax @djaglowski I made a PR targeting this branch here to resolve the Edit: spoke too soon, I'll take a look and update when it's green |
@antonblock i merged that pr into this one to keep the discussion in one place :) |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
I haven't had a chance to dig deeper into this, other to confirm the |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
v6.13.0
->v7.2.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
aerospike/aerospike-client-go (github.com/aerospike/aerospike-client-go/v6)
v7.2.1
Compare Source
This release updates the dependencies to mitigate security issues.
golang.org/x/net/http2
.v7.2.0
Compare Source
This is a major update. Please test your code thoroughly before using in production.
New Features
RawBlobValue
in the Go client.QueryDuration
.ReadPolicy.ReadTouchTTLPercent
.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 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 clusterPartitionStatus
and addRecordset.BVal
.Improvements
policy.SendKey
is set totrue
.string
,integer
,bytes
are allowed as map key types;Policy.SendKey
clarification.ExpCond()
doc to say that all action expressions must return the same type.Fixes
RespondPerEachOp
doesn't work for list operation. To allow backwards compatibility, this change will change the default value ofRespondPerEachOp
totrue
.ExpListRemoveByValueRange
.BatchOperations
to run on Github Actions.v7.1.0
Compare Source
New Features
TaskId()
toExecuteTask
.PartitionFilter.Retry
public.Improvements
Fixes
QueryExecute
(background query) doesn't work without operations.v7.0.0
Compare Source
Breaking Changes
[CLIENT-2713] Handle Normalized Integers in Maps and Lists.
Aerospike Server v7 normalizes all positive integers in Maps and Lists into unsigned values for various efficiency reasons, and returns them as uint64. This effectively means that the type of positive
int64
values will be lost. Go client supporteduint64
types in lists and maps, and this change breaks that functionality by normalizing the values and removing the sign bits in case they are not needed. To support all versions of the server before and after the v7 consistently, the Go client will now behave like other Aerospike smart clients and automatically convert all unsigned int64 values inside maps and lists into signed values. This means amath.MaxUint64
value in a List or Map will return as two's compliment: -1.Example:
will return as:
This will break all code that used to cast
rec.Bins["map"].(map[any]any)["max].(uin64)
. As a result, all such code should cast to int64 and then convert back touint64
via a sign switch.If you didn't use
uint64
values in Maps ans Lists, you should not be affected by this change.All the test cases that depended on the old behavior have been adapted to the new behavior.
[CLIENT-2719] Typed
GeoJSON
andHLL
deserialization.The Go client would read GeoJSON and HLL values back as
string
and[]byte
respectively. So if you read a record with bins of these types and wrote it directly back to the database, the type of these fields would be lost.The new version addresses this issue, but could be a breaking change if you have code that casts the values to the old
string
and[]byte
. You now need to cast these values toGeoJSONValue
andHLLValue
types respectively.[CLIENT-2484] Add
returnType
to supportedExpMapRemoveBy*
andExpListRemoveBy*
methods.[CLIENT-2319] Revise BatchReadAPIs to accept BatchReadPolicy argument.
NewBatchReadOps
no longer takesbinNames
and changes ops parameter to variadic for consistency.Changes the following Public API:
to
Replace
WritePolicy
withInfoPolicy
inclient.Truncate
.Remove the deprecated
ClientPolicy.RackId
. UsePolicy.RackIds
instead.New Features
This includes
PREFER_RACK
which allows scan/query to be directed at local rack nodes when possible.DropIndexTask
.ExpRecordSize()
.Improvements
Fixes
BatchPolicy
takes precedence rather thanBatchDeletePolicy
inBatchDelete
.v6.15.1
: Security Fix ReleaseCompare Source
This release updates the dependencies to mitigate security issues.
Fixes
golang.org/x/net/http2
.Improvements
v6.15.0
: Backport fix releaseCompare Source
New Features
This includes
PREFER_RACK
which allows scan/query to be directed at local rack nodes when possible.Fixes
The filter expressions of wither policies will be used. Priority is with
the Query Policy for backwards compatibility.
BatchPolicy
takes precedence rather thanBatchDeletePolicy
.DropIndexTask
.Improvements
v6.14.1
Compare Source
Hotfix.
Fixes
BatchGetOperate
triggering SIGSEGV nil pointer in the Go client.Caching of the operation is faulty and causes race conditions when used concurrently.
This commit removes the caching which included a useless allocation and rarely, if ever, had any practical influence on performance.
v6.14.0
Compare Source
New Features
Configuration
📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.