xiangfu0 opened a new pull request, #20410: URL: https://github.com/apache/pinot/pull/20410
## Summary Use `grpc-netty` 1.86.0 with Pinot’s managed Netty 4.2.19.Final. The upstream `grpc-netty-shaded` 1.86.0 JAR embeds Netty 4.2.17.Final, so a BOM bump leaves its HTTP codecs in the binary distribution. The [Netty publisher advisory](https://github.com/netty/netty/security/advisories/GHSA-cg2g-fxr4-mg8m) lists 4.2.18.Final as the patched version for CVE-2026-93569. The same release fixes CVE-2026-93567 and CVE-2026-93568. - Preserve native gRPC transport and TLS support with managed epoll and `netty-tcnative-boringssl-static` 2.0.84.Final. - Isolate the Spark connector’s gRPC and Netty classes and JNI libraries from Spark’s own Netty. - Keep GCS on its HTTP storage client and exclude the SDK’s unused gRPC transports. ## How to reproduce On the parent commit, package `pinot-distribution`, `pinot-gcs`, and `pinot-kinesis` with their reactor dependencies and the `build-shaded-jar` profile. Inspect each shaded JAR for entries under `io/grpc/netty/shaded/io/netty/`. Rebuild on this branch and repeat the inspection. The runtime and Kinesis now contain the managed 4.2.19.Final codecs, and GCS has no Netty transport. ## Validation - Built and scanned all 31 JARs in the binary distribution. The previous gRPC relocation is absent, and the runtime and Kinesis HTTP/1 and HTTP/2 classes match the official Netty 4.2.19.Final artifacts. - Passed 91 targeted unit tests, 42 cluster integration tests covering plaintext, TLS and both query engines, and all 18 Java 11 compatibility checks. - Passed packaged GCS HTTP and gRPC BoringSSL smoke tests, including the Spark connector with Spark’s Netty 4.1.96.Final first on the classpath. - Passed Spotless, Checkstyle, and the license checks. ## Compatibility gRPC shares the process-wide `io.netty.maxDirectMemory` limit. The existing gRPC memory gauges report the shared totals. Callers that use Pinot methods exposing the old shaded TLS types need to switch imports to `io.netty` and recompile. The managed and Pulsar Netty upgrade work tracks later fixes, including the HTTP codec fixes in [Netty 4.2.20.Final](https://github.com/netty/netty/releases/tag/netty-4.2.20.Final). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
