Repository navigation
[dbnode] Rename embed.Config URL fields, bump etcd to 3.5.8 - #4404
Closed
justinhwang wants to merge 1 commit into
Closed
justinhwang wants to merge 1 commit into
justinhwang wants to merge 1 commit into
Conversation
etcd renamed embed.Config's LPUrls/LCUrls/APUrls/ACUrls fields to ListenPeerUrls/ListenClientUrls/AdvertisePeerUrls/AdvertiseClientUrls in v3.5.8 (a breaking rename with no aliases). Master currently pins etcd 3.5.5 and uses the old names, which means m3 fails to compile against any etcd >= 3.5.8 forced by a downstream replace directive. Bump to 3.5.8 specifically: 3.5.14+ requires grpc >= 1.59 and protobuf >= 1.33, which drags the module graph past otel v1.4.1 and breaks m3's opentelemetry-collector usage (otel/metric/global was removed from newer otel releases). 3.5.8 requires only grpc 1.41, so nothing else in the graph moves. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
justinhwang
force-pushed
the
justinhwang/etcd-embed-field-rename
branch
from
September 15, 2026 21:27
3d0666b to
ddfcb49
Compare
Collaborator
Author
|
Reopened as #4407, rebased onto current master and branched from this repository rather than a fork so CI can run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Fixes compilation against etcd >= 3.5.8. etcd renamed embed.Config's LPUrls/LCUrls/APUrls/ACUrls fields to ListenPeerUrls/ListenClientUrls/AdvertisePeerUrls/AdvertiseClientUrls in v3.5.8 — a breaking rename with no aliases. Master pins etcd 3.5.5 and uses the old names in NewEtcdEmbedConfig (src/cmd/services/m3dbnode/config/config.go), so any downstream consumer whose module graph forces etcd server v3.5.8+ (e.g. via a replace directive) cannot compile m3.
Special notes for your reviewer:
Does this PR introduce a user-facing and/or backwards incompatible change?:
Does this PR require updating code package or user-facing documentation?: