Skip to content

Commit 19a3511

Browse files
authored
Merge branch 'main' into kruti/fix-ipv6-address-handling
2 parents f17c62c + b8a92a7 commit 19a3511

File tree

4 files changed

+31
-10
lines changed

4 files changed

+31
-10
lines changed

.changelog/22226.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
wan-federation: Fixed an issue where advertised IPv6 addresses were causing WAN federation to fail.
3+
```

agent/consul/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ func NewServer(config *Config, flat Deps, externalGRPCServer *grpc.Server,
781781
if err != nil {
782782
return "", err
783783
}
784-
return fmt.Sprintf("%s:%d", addr, s.WanJoinPort), nil
784+
return net.JoinHostPort(addr, strconv.Itoa(s.WanJoinPort)), nil
785785
}
786786
go s.Flood(addrFn, s.serfWAN)
787787
}

agent/grpc-internal/client.go

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,28 @@ const grpcServiceConfig = `
101101
{
102102
"service": "subscribe.StateChangeSubscription",
103103
"method": "Subscribe"
104-
},
104+
}
105+
],
106+
"retryPolicy": {
107+
"MaxAttempts": 5,
108+
"BackoffMultiplier": 2,
109+
"InitialBackoff": "1s",
110+
"MaxBackoff": "5s",
111+
"RetryableStatusCodes": [
112+
"CANCELLED",
113+
"UNKNOWN",
114+
"DEADLINE_EXCEEDED",
115+
"RESOURCE_EXHAUSTED",
116+
"FAILED_PRECONDITION",
117+
"ABORTED",
118+
"OUT_OF_RANGE",
119+
"INTERNAL",
120+
"UNAVAILABLE"
121+
]
122+
}
123+
},
124+
{
125+
"name": [
105126
{
106127
"service": "partition.PartitionService",
107128
"method": "List"
@@ -112,8 +133,8 @@ const grpcServiceConfig = `
112133
}
113134
],
114135
"retryPolicy": {
115-
"MaxAttempts": 5,
116-
"BackoffMultiplier": 2,
136+
"MaxAttempts": 3,
137+
"BackoffMultiplier": 1.1,
117138
"InitialBackoff": "1s",
118139
"MaxBackoff": "5s",
119140
"RetryableStatusCodes": [

envoyextensions/xdscommon/ENVOY_VERSIONS

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
#
99
# See https://developer.hashicorp.com/docs/connect/proxies/envoy#supported-versions for more information on Consul's Envoy
1010
# version support.
11-
1.33.0
12-
1.32.3
13-
1.31.5
14-
1.30.9
15-
1.29.12
16-
1.28.7
11+
1.33.2
12+
1.32.5
13+
1.31.8

0 commit comments

Comments
 (0)