Skip to content

Commit 7e6061a

Browse files
authored
Bump up netty to 4.1.115 (#12770)
1 parent c9a959e commit 7e6061a

File tree

12 files changed

+49
-60
lines changed

12 files changed

+49
-60
lines changed

.licenserc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ dependency:
144144
version: 1.16.0
145145
license: Apache-2.0
146146
- name: io.vertx:vertx-grpc
147-
version: 4.5.1
147+
version: 4.5.9
148148
license: EPL-2.0
149149

dist-material/release-docs/LICENSE

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ The text of each license is the standard Apache 2.0 license.
226226
https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.17.1 Apache-2.0
227227
https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-kotlin/2.13.4 Apache-2.0
228228
https://mvnrepository.com/artifact/com.fasterxml/classmate/1.5.1 Apache-2.0
229-
https://mvnrepository.com/artifact/com.google.api.grpc/proto-google-common-protos/2.29.0 Apache-2.0
229+
https://mvnrepository.com/artifact/com.google.api.grpc/proto-google-common-protos/2.41.0 Apache-2.0
230230
https://mvnrepository.com/artifact/com.google.auto.service/auto-service-annotations/1.0.1 Apache-2.0
231231
https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305/3.0.2 Apache-2.0
232232
https://mvnrepository.com/artifact/com.google.code.gson/gson/2.9.0 Apache-2.0
@@ -290,43 +290,42 @@ The text of each license is the standard Apache 2.0 license.
290290
https://mvnrepository.com/artifact/io.fabric8/kubernetes-model-scheduling/6.7.1 Apache-2.0
291291
https://mvnrepository.com/artifact/io.fabric8/kubernetes-model-storageclass/6.7.1 Apache-2.0
292292
https://mvnrepository.com/artifact/io.fabric8/zjsonpatch/0.3.0 Apache-2.0
293-
https://mvnrepository.com/artifact/io.grpc/grpc-api/1.63.0 Apache-2.0
294-
https://mvnrepository.com/artifact/io.grpc/grpc-context/1.63.0 Apache-2.0
295-
https://mvnrepository.com/artifact/io.grpc/grpc-core/1.63.0 Apache-2.0
296-
https://mvnrepository.com/artifact/io.grpc/grpc-grpclb/1.63.0 Apache-2.0
297-
https://mvnrepository.com/artifact/io.grpc/grpc-netty/1.63.0 Apache-2.0
298-
https://mvnrepository.com/artifact/io.grpc/grpc-protobuf/1.63.0 Apache-2.0
299-
https://mvnrepository.com/artifact/io.grpc/grpc-protobuf-lite/1.63.0 Apache-2.0
293+
https://mvnrepository.com/artifact/io.grpc/grpc-api/1.68.1 Apache-2.0
294+
https://mvnrepository.com/artifact/io.grpc/grpc-context/1.68.1 Apache-2.0
295+
https://mvnrepository.com/artifact/io.grpc/grpc-core/1.68.1 Apache-2.0
296+
https://mvnrepository.com/artifact/io.grpc/grpc-grpclb/1.68.1 Apache-2.0
297+
https://mvnrepository.com/artifact/io.grpc/grpc-netty/1.68.1 Apache-2.0
298+
https://mvnrepository.com/artifact/io.grpc/grpc-protobuf/1.68.1 Apache-2.0
299+
https://mvnrepository.com/artifact/io.grpc/grpc-protobuf-lite/1.68.1 Apache-2.0
300300
https://mvnrepository.com/artifact/io.grpc/grpc-services/1.64.0 Apache-2.0
301-
https://mvnrepository.com/artifact/io.grpc/grpc-stub/1.63.0 Apache-2.0
302-
https://mvnrepository.com/artifact/io.grpc/grpc-util/1.63.0 Apache-2.0
301+
https://mvnrepository.com/artifact/io.grpc/grpc-stub/1.68.1 Apache-2.0
302+
https://mvnrepository.com/artifact/io.grpc/grpc-util/1.68.1 Apache-2.0
303303
https://mvnrepository.com/artifact/io.micrometer/micrometer-commons/1.13.0 Apache-2.0
304304
https://mvnrepository.com/artifact/io.micrometer/micrometer-core/1.13.0 Apache-2.0
305305
https://mvnrepository.com/artifact/io.micrometer/micrometer-observation/1.13.0 Apache-2.0
306-
https://mvnrepository.com/artifact/io.netty/netty-buffer/4.1.108.Final Apache-2.0
307-
https://mvnrepository.com/artifact/io.netty/netty-codec/4.1.108.Final Apache-2.0
308-
https://mvnrepository.com/artifact/io.netty/netty-codec-dns/4.1.108.Final Apache-2.0
309-
https://mvnrepository.com/artifact/io.netty/netty-codec-haproxy/4.1.108.Final Apache-2.0
310-
https://mvnrepository.com/artifact/io.netty/netty-codec-http/4.1.108.Final Apache-2.0
311-
https://mvnrepository.com/artifact/io.netty/netty-codec-http2/4.1.108.Final Apache-2.0
312-
https://mvnrepository.com/artifact/io.netty/netty-codec-socks/4.1.108.Final Apache-2.0
313-
https://mvnrepository.com/artifact/io.netty/netty-common/4.1.108.Final Apache-2.0
314-
https://mvnrepository.com/artifact/io.netty/netty-handler/4.1.108.Final Apache-2.0
315-
https://mvnrepository.com/artifact/io.netty/netty-handler-proxy/4.1.108.Final Apache-2.0
316-
https://mvnrepository.com/artifact/io.netty/netty-resolver/4.1.108.Final Apache-2.0
317-
https://mvnrepository.com/artifact/io.netty/netty-resolver-dns/4.1.108.Final Apache-2.0
318-
https://mvnrepository.com/artifact/io.netty/netty-resolver-dns-classes-macos/4.1.108.Final Apache-2.0
319-
https://mvnrepository.com/artifact/io.netty/netty-resolver-dns-native-macos/4.1.108.Final Apache-2.0
320-
https://mvnrepository.com/artifact/io.netty/netty-tcnative-boringssl-static/2.0.52.Final Apache-2.0
321-
https://mvnrepository.com/artifact/io.netty/netty-tcnative-boringssl-static/2.0.65.Final Apache-2.0
322-
https://mvnrepository.com/artifact/io.netty/netty-tcnative-classes/2.0.65.Final Apache-2.0
323-
https://mvnrepository.com/artifact/io.netty/netty-transport/4.1.108.Final Apache-2.0
324-
https://mvnrepository.com/artifact/io.netty/netty-transport-classes-epoll/4.1.108.Final Apache-2.0
325-
https://mvnrepository.com/artifact/io.netty/netty-transport-classes-kqueue/4.1.108.Final Apache-2.0
326-
https://mvnrepository.com/artifact/io.netty/netty-transport-native-epoll/4.1.108.Final Apache-2.0
327-
https://mvnrepository.com/artifact/io.netty/netty-transport-native-kqueue/4.1.108.Final Apache-2.0
328-
https://mvnrepository.com/artifact/io.netty/netty-transport-native-unix-common/4.1.108.Final Apache-2.0
329-
https://mvnrepository.com/artifact/io.perfmark/perfmark-api/0.26.0 Apache-2.0
306+
https://mvnrepository.com/artifact/io.netty/netty-buffer/4.1.115.Final Apache-2.0
307+
https://mvnrepository.com/artifact/io.netty/netty-codec/4.1.115.Final Apache-2.0
308+
https://mvnrepository.com/artifact/io.netty/netty-codec-dns/4.1.115.Final Apache-2.0
309+
https://mvnrepository.com/artifact/io.netty/netty-codec-haproxy/4.1.115.Final Apache-2.0
310+
https://mvnrepository.com/artifact/io.netty/netty-codec-http/4.1.115.Final Apache-2.0
311+
https://mvnrepository.com/artifact/io.netty/netty-codec-http2/4.1.115.Final Apache-2.0
312+
https://mvnrepository.com/artifact/io.netty/netty-codec-socks/4.1.115.Final Apache-2.0
313+
https://mvnrepository.com/artifact/io.netty/netty-common/4.1.115.Final Apache-2.0
314+
https://mvnrepository.com/artifact/io.netty/netty-handler/4.1.115.Final Apache-2.0
315+
https://mvnrepository.com/artifact/io.netty/netty-handler-proxy/4.1.115.Final Apache-2.0
316+
https://mvnrepository.com/artifact/io.netty/netty-resolver/4.1.115.Final Apache-2.0
317+
https://mvnrepository.com/artifact/io.netty/netty-resolver-dns/4.1.115.Final Apache-2.0
318+
https://mvnrepository.com/artifact/io.netty/netty-resolver-dns-classes-macos/4.1.115.Final Apache-2.0
319+
https://mvnrepository.com/artifact/io.netty/netty-resolver-dns-native-macos/4.1.115.Final Apache-2.0
320+
https://mvnrepository.com/artifact/io.netty/netty-tcnative-boringssl-static/2.0.69.Final Apache-2.0
321+
https://mvnrepository.com/artifact/io.netty/netty-tcnative-classes/2.0.69.Final Apache-2.0
322+
https://mvnrepository.com/artifact/io.netty/netty-transport/4.1.115.Final Apache-2.0
323+
https://mvnrepository.com/artifact/io.netty/netty-transport-classes-epoll/4.1.115.Final Apache-2.0
324+
https://mvnrepository.com/artifact/io.netty/netty-transport-classes-kqueue/4.1.115.Final Apache-2.0
325+
https://mvnrepository.com/artifact/io.netty/netty-transport-native-epoll/4.1.115.Final Apache-2.0
326+
https://mvnrepository.com/artifact/io.netty/netty-transport-native-kqueue/4.1.115.Final Apache-2.0
327+
https://mvnrepository.com/artifact/io.netty/netty-transport-native-unix-common/4.1.115.Final Apache-2.0
328+
https://mvnrepository.com/artifact/io.perfmark/perfmark-api/0.27.0 Apache-2.0
330329
https://mvnrepository.com/artifact/io.prometheus/simpleclient/0.6.0 Apache-2.0
331330
https://mvnrepository.com/artifact/io.prometheus/simpleclient_common/0.6.0 Apache-2.0
332331
https://mvnrepository.com/artifact/io.prometheus/simpleclient_hotspot/0.6.0 Apache-2.0
@@ -548,7 +547,7 @@ The text of each license is also included in licenses/LICENSE-[project].txt.
548547
https://npmjs.com/package/monaco-editor/v/0.34.1 0.34.1 MIT
549548
https://npmjs.com/package/nanoid/v/3.3.7 3.3.7 MIT
550549
https://mvnrepository.com/artifact/org.checkerframework/checker-qual/3.33.0 MIT
551-
https://mvnrepository.com/artifact/org.codehaus.mojo/animal-sniffer-annotations/1.23 MIT
550+
https://mvnrepository.com/artifact/org.codehaus.mojo/animal-sniffer-annotations/1.24 MIT
552551
https://mvnrepository.com/artifact/org.curioswitch.curiostack/protobuf-jackson/2.5.0 MIT
553552
https://mvnrepository.com/artifact/org.slf4j/slf4j-api/1.7.30 MIT
554553
https://npmjs.com/package/pinia/v/2.0.28 2.0.28 MIT

docs/en/changes/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* Fix "BanyanDBTraceQueryDAO.queryBasicTraces" doesn't support querying by "trace_id".
2121
* Polish mesh data dispatcher: don't generate Instance/Endpoint metrics if they are empty.
2222
* Adapt the new metadata standardization in Istio 1.24.
23+
* Bump up netty to 4.1.115, grpc to 1.68.1, boringssl to 2.0.69.
2324

2425
#### UI
2526

oap-server/server-cluster-plugin/cluster-etcd-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/etcd/ClusterModuleEtcdConfig.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
package org.apache.skywalking.oap.server.cluster.plugin.etcd;
2020

2121
import com.google.common.base.Strings;
22-
import java.util.Arrays;
2322
import lombok.Data;
2423
import org.apache.skywalking.oap.server.library.module.ModuleConfig;
2524

@@ -47,9 +46,4 @@ public String getNamespace() {
4746
}
4847
return namespace;
4948
}
50-
51-
public String[] getEndpointArray() {
52-
return Arrays.stream(endpoints.split("\\s*,\\s*")).toArray(String[]::new);
53-
54-
}
5549
}

oap-server/server-cluster-plugin/cluster-etcd-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/etcd/EtcdCoordinator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public EtcdCoordinator(final ModuleDefineHolder manager,
7777
}
7878
this.serviceNameBS = ByteSequence.from(serviceName, Charset.defaultCharset());
7979
ClientBuilder builder = Client.builder()
80-
.endpoints(config.getEndpointArray())
80+
.target(config.getEndpoints())
8181
.authority(config.getAuthority());
8282
if (StringUtil.isNotEmpty(config.getNamespace())) {
8383
builder.namespace(ByteSequence.from(config.getNamespace(), Charset.defaultCharset()));

oap-server/server-cluster-plugin/cluster-etcd-plugin/src/test/java/org/apache/skywalking/oap/server/cluster/plugin/etcd/ClusterEtcdPluginIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class ClusterEtcdPluginIT {
6464

6565
@Container
6666
public final GenericContainer<?> container =
67-
new GenericContainer<>(DockerImageName.parse("quay.io/coreos/etcd:v3.5.0"))
67+
new GenericContainer<>(DockerImageName.parse("quay.io/coreos/etcd:v3.5.17"))
6868
.waitingFor(Wait.forLogMessage(".*ready to serve client requests.*", 1))
6969
.withEnv(Collections.singletonMap("ALLOW_NONE_AUTHENTICATION", "yes"))
7070
.withCommand(
@@ -76,7 +76,7 @@ public class ClusterEtcdPluginIT {
7676

7777
@BeforeEach
7878
public void before() throws Exception {
79-
String baseUrl = "http://" + container.getHost() + ":" + container.getMappedPort(2379);
79+
String baseUrl = container.getHost() + ":" + container.getMappedPort(2379);
8080
System.setProperty("etcd.endpoint", baseUrl);
8181

8282
etcdConfig = new ClusterModuleEtcdConfig();

oap-server/server-cluster-plugin/cluster-etcd-plugin/src/test/java/org/apache/skywalking/oap/server/cluster/plugin/etcd/ClusterModuleEtcdProviderFunctionalIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void setup() {
7575
telemetryProvider = mock(NoneTelemetryProvider.class);
7676
Mockito.when(telemetryProvider.getService(MetricsCreator.class))
7777
.thenReturn(new MetricsCreatorNoop());
78-
endpoint = "http://" + container.getHost() + ":" + container.getMappedPort(2379);
78+
endpoint = container.getHost() + ":" + container.getMappedPort(2379);
7979
}
8080

8181
@Test

oap-server/server-configuration/configuration-etcd/src/main/java/org/apache/skywalking/oap/server/configuration/etcd/EtcdConfigWatcherRegister.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public EtcdConfigWatcherRegister(EtcdServerSettings setting) {
4343
super(setting.getPeriod());
4444
ClientBuilder builder = Client.builder()
4545
.authority(setting.getAuthority())
46-
.endpoints(setting.getEndpointArray());
46+
.target(setting.getEndpoints());
4747

4848
if (StringUtil.isNotEmpty(setting.getNamespace())) {
4949
builder.namespace(ByteSequence.from(setting.getNamespace(), Charset.defaultCharset()));

oap-server/server-configuration/configuration-etcd/src/main/java/org/apache/skywalking/oap/server/configuration/etcd/EtcdServerSettings.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
package org.apache.skywalking.oap.server.configuration.etcd;
1919

2020
import com.google.common.base.Strings;
21-
import java.util.Arrays;
2221
import lombok.Data;
2322
import lombok.EqualsAndHashCode;
2423
import lombok.ToString;
@@ -46,8 +45,4 @@ public String getNamespace() {
4645
}
4746
return namespace;
4847
}
49-
50-
public String[] getEndpointArray() {
51-
return Arrays.stream(endpoints.split("\\s*,\\s*")).toArray(String[]::new);
52-
}
5348
}

oap-server/server-configuration/configuration-etcd/src/test/java/org/apache/skywalking/oap/server/configuration/etcd/EtcdConfigurationIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class EtcdConfigurationIT {
6868

6969
@BeforeEach
7070
public void before() throws Exception {
71-
System.setProperty("etcd.endpoint", "http://127.0.0.1:" + container.getMappedPort(2379));
71+
System.setProperty("etcd.endpoint", "127.0.0.1:" + container.getMappedPort(2379));
7272

7373
final ApplicationConfiguration applicationConfiguration = new ApplicationConfiguration();
7474
loadConfig(applicationConfiguration);
@@ -87,7 +87,7 @@ public void shouldReadUpdated() throws Exception {
8787
assertNull(provider.watcher.value());
8888

8989
KV client = Client.builder()
90-
.endpoints("http://localhost:" + container.getMappedPort(2379))
90+
.target("127.0.0.1:" + container.getMappedPort(2379))
9191
.namespace(ByteSequence.from("/skywalking/", Charset.defaultCharset()))
9292
.build()
9393
.getKVClient();
@@ -120,7 +120,7 @@ public void shouldReadUpdated4Group() throws Exception {
120120
assertEquals("{}", provider.groupWatcher.groupItems().toString());
121121

122122
KV client = Client.builder()
123-
.endpoints("http://localhost:" + container.getMappedPort(2379))
123+
.target("localhost:" + container.getMappedPort(2379))
124124
.namespace(ByteSequence.from("/skywalking/", Charset.defaultCharset()))
125125
.build()
126126
.getKVClient();

0 commit comments

Comments
 (0)