-
Notifications
You must be signed in to change notification settings - Fork 2k
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
deps: update go-msgpack and net-rpc-msgpackrpc #25201
Conversation
Fixes a bug where connections would not be closed on write errors in the msgpack encoder, which would cause the reader end of RPC connections to hang indefinitely. This resulted in clients in widely-distributed geographies being unable to poll for allocation updates. Fixes: #23305
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.
lgtm!
@@ -64,7 +64,7 @@ require ( | |||
github.com/hashicorp/go-kms-wrapping/wrappers/transit/v2 v2.0.12 | |||
github.com/hashicorp/go-memdb v1.3.4 | |||
github.com/hashicorp/go-metrics v0.5.4 | |||
github.com/hashicorp/go-msgpack/v2 v2.1.2 | |||
github.com/hashicorp/go-msgpack/v2 v2.1.3 |
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.
for posterity, the relevant change here is hashicorp/go-msgpack#26, which is theorized to be no-op, but "just in case", yes?
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.
Yeah, exactly.
@@ -80,7 +80,7 @@ require ( | |||
github.com/hashicorp/hcl/v2 v2.20.2-0.20240517235513-55d9c02d147d | |||
github.com/hashicorp/hil v0.0.0-20210521165536-27a72121fd40 | |||
github.com/hashicorp/memberlist v0.5.3 | |||
github.com/hashicorp/net-rpc-msgpackrpc/v2 v2.0.0 | |||
github.com/hashicorp/net-rpc-msgpackrpc/v2 v2.0.1 |
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.
and hashicorp/net-rpc-msgpackrpc#15, which does matter, and fixes the issue.
Fixes a bug where connections would not be closed on write errors in the msgpack encoder, which would cause the reader end of RPC connections to hang indefinitely. This resulted in clients in widely-distributed geographies being unable to poll for allocation updates. Fixes: #23305
Backported to:
This was not backported to 1.7.x+ent because that version of Nomad is using the v1 versions of go-msgpack and net-rpc-msgpackrpc |
Fixes a bug where connections would not be closed on write errors in the msgpack encoder, which would cause the reader end of RPC connections to hang indefinitely. This resulted in clients in widely-distributed geographies being unable to poll for allocation updates.
Fixes: #23305