[ 
https://issues.apache.org/jira/browse/CASSANDRA-17992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738556#comment-17738556
 ] 

Jacek Lewandowski commented on CASSANDRA-17992:
-----------------------------------------------

Summary:

Among release notes between 4.1.58 and 4.1.94 I've found "important notes" in 
the following releases:
- https://netty.io/news/2021/03/09/4-1-60-Final.html
- https://netty.io/news/2021/03/30/4-1-61-Final.html
- https://netty.io/news/2022/01/12/4-1-73-Final.html
- https://netty.io/news/2022/03/10/4-1-75-Final.html
- https://netty.io/news/2022/10/11/4-1-84-Final.html

The following changes have been applied:
- Added explicit dependency to {{org.bouncycastle:bcpkix-jdk15on:1.70}} 
([~brandon.williams]) - https://github.com/netty/netty/pull/11495
- Updated version of  {{io.netty:netty-tcnative-boringssl-static}} to 
{{2.0.61.Final}} ([~brandon.williams]) - 
https://github.com/netty/netty/commit/9d28ad5403
- Due to packaging changes, we needed to explicitly include the dependency 
{{io.netty:netty-transport-native-epoll:4.1.94.Final:linux-x86_64}} 
https://github.com/netty/netty/commit/04f0eedea8
- {{InternodeEncryptionOptionsTest}} now verifies also TLSv1.3, TLSv1.1 has 
been deprecated and is now disabled by default - 
- Some defaults has been changed, in particular thread local caching and chunk 
size in heap allocator, therefore system properties have been added to bring 
back the values we used before upgrade 
({{io.netty.allocator.useCacheForAllThreads=true}}, 
{{io.netty.allocator.maxOrder=11}} - 
https://github.com/netty/netty/commit/b61d7d40f4, 
https://github.com/netty/netty/commit/4797b88d89

There is also a file attached to the PR: 
https://github.com/jacek-lewandowski/cassandra/blob/CASSANDRA-17992/netty-release-notes-filtered.md,
 which lists the release notes. Those were filtered by removing changes that 
were uninteresting, like changes in build, tests, related to http, brotli, udp, 
websockets, etc. Additionally there is also 
https://github.com/jacek-lewandowski/cassandra/blob/CASSANDRA-17992/netty-release-notes.md
 with all release notes.




 

> Upgrade Netty on 5.0
> --------------------
>
>                 Key: CASSANDRA-17992
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17992
>             Project: Cassandra
>          Issue Type: Task
>          Components: Dependencies
>            Reporter: Ekaterina Dimitrova
>            Assignee: Jacek Lewandowski
>            Priority: Low
>             Fix For: 5.x
>
>
> I haven't been able to identify from the Netty docs which was the lowest 
> version where JDK17 was added but we are about 40 versions behind in netty 4 
> so I suspect we better update. 
> -We need to consider there was an issue with class cast exceptions when 
> building with JDK17 with newer versions of netty (the newest available in 
> March 2022). For the record, we didn't see those when running CI on JDK8 and 
> JDK11. We also need to carefully revise the changes between the netty 
> versions. -->- CASSANDRA-18180
> Upgrading will cover also a fix in netty that was discussed in 
> [this|https://the-asf.slack.com/archives/CK23JSY2K/p1665567660202989] ASF 
> Slack thread. 
> CC [~benedict] , [~aleksey] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to