adelapena commented on code in PR #2506:
URL: https://github.com/apache/cassandra/pull/2506#discussion_r1273364800
##########
src/java/org/apache/cassandra/net/InboundConnectionInitiator.java:
##########
@@ -533,26 +478,17 @@ void setupMessagingPipeline(InetAddressAndPort from, int
useMessagingVersion, in
{
case LZ4:
{
- if (useMessagingVersion >= VERSION_40)
- frameDecoder = FrameDecoderLZ4.fast(allocator);
- else
- frameDecoder = new FrameDecoderLegacyLZ4(allocator,
useMessagingVersion);
+ frameDecoder = FrameDecoderLZ4.fast(allocator);
Review Comment:
The comments for the `OutboundConnectionSettings.Framing` enum values have
some references to the MS version that I think we don't need anymore:
https://github.com/apache/cassandra/blob/530750f780b1b4a683263337574f2fa5cabd4dce/src/java/org/apache/cassandra/net/OutboundConnectionSettings.java#L53-L60
--
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]