You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2026/10/23 10:34:45 UTC

(asterixdb) 01/05: [ASTERIXDB-3961][NET] Advance netty to 4.2.19.Final

This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git

commit 9342fd0109a526a829394e71f0fc7e1d7a0dfb4e
Author: Michael Blow <mi...@couchbase.com>
AuthorDate: Wed Oct 21 10:09:49 2026 -0400

    [ASTERIXDB-3961][NET] Advance netty to 4.2.19.Final
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details: Move netty from 4.1.139.Final to 4.2.19.Final.
    
    In 4.2, netty-all depends on every module, including the QUIC, HTTP/3
    and io_uring codecs and transports with their native jars, and
    netty-codec has become an aggregator over codec-base, codec-compression,
    codec-marshalling and codec-protobuf. Nothing here uses QUIC, HTTP/3,
    io_uring, marshalling or protobuf codecs, so they join the existing
    exclusions on netty-all, and a managed netty-codec entry drops
    marshalling and protobuf. What remains is the split of the old
    netty-codec into codec-base and codec-compression.
    
    hyracks-http now declares netty-codec-base, where the classes it uses
    live, instead of the netty-codec aggregator, which dependency:analyze
    reports as used-undeclared and unused-declared respectively.
    
    Ext-ref: MB-74669
    Generated-by: Claude Opus 5.5 <no...@anthropic.com>
    Change-Id: I3c12886a6362b830189a22b8c8d7ad220f03e2c9
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/22137
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Reviewed-by: Hussain Altowileb <hu...@gmail.com>
    Reviewed-by: Michael Blow <mb...@apache.org>
    Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
---
 hyracks-fullstack/hyracks/hyracks-http/pom.xml |  2 +-
 hyracks-fullstack/pom.xml                      | 45 +++++++++++++++++++++++++-
 2 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/hyracks-fullstack/hyracks/hyracks-http/pom.xml b/hyracks-fullstack/hyracks/hyracks-http/pom.xml
index 9a653512fb..97707b782b 100644
--- a/hyracks-fullstack/hyracks/hyracks-http/pom.xml
+++ b/hyracks-fullstack/hyracks/hyracks-http/pom.xml
@@ -61,7 +61,7 @@
     </dependency>
     <dependency>
       <groupId>io.netty</groupId>
-      <artifactId>netty-codec</artifactId>
+      <artifactId>netty-codec-base</artifactId>
     </dependency>
     <dependency>
       <groupId>io.netty</groupId>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index 8b0a6c68d1..841902b9a1 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -81,7 +81,7 @@
     <jackson.version>2.22.4</jackson.version>
     <jackson-annotations.version>2.22</jackson-annotations.version>
     <jackson-databind.version>${jackson.version}</jackson-databind.version>
-    <netty.version>4.1.139.Final</netty.version>
+    <netty.version>4.2.19.Final</netty.version>
 
     <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
     <implementation.url>https://asterixdb.apache.org/</implementation.url>
@@ -168,6 +168,49 @@
             <groupId>io.netty</groupId>
             <artifactId>netty-codec-stomp</artifactId>
           </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-http3</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-classes-quic</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-native-quic</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-transport-classes-io_uring</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-transport-native-io_uring</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-marshalling</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-protobuf</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>io.netty</groupId>
+        <artifactId>netty-codec</artifactId>
+        <version>${netty.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-marshalling</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-codec-protobuf</artifactId>
+          </exclusion>
         </exclusions>
       </dependency>
       <dependency>