[
https://issues.apache.org/jira/browse/CASSANDRA-17992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749272#comment-17749272
]
Ekaterina Dimitrova commented on CASSANDRA-17992:
-------------------------------------------------
[~norman], any advice would be appreciated when you have a few minutes. While
upgrading Netty, [~jlewandowski] noticed some defaults had been changed on the
Netty side, in particular thread local caching and chunk size in heap
allocator; therefore, after reading through the issues where those were
changed, [~jlewandowski] added system properties to bring back the values we
used before the 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] . The current plan is to
open a follow-up ticket to test performance with the old vs. the new defaults
before changing the defaults. Does this make sense to you? Anything else we
need to consider?
> 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: Normal
> Fix For: 5.x
>
> Attachments: important-netty-inter-releases.md,
> netty-release-notes-filtered.md, netty-release-notes.md
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]