dcapwell commented on code in PR #3978:
URL: https://github.com/apache/cassandra/pull/3978#discussion_r1993818462


##########
src/java/org/apache/cassandra/net/InboundConnectionInitiator.java:
##########
@@ -396,6 +400,8 @@ private void exceptionCaught(Channel channel, Throwable 
cause)
 
             if (reportingExclusion)
                 logger.debug("Excluding internode exception for {}; address 
contained in internode_error_reporting_exclusions", remoteAddress, cause);
+            else if (cause != null && cause.getCause() != null && 
cause.getCause() instanceof Message.InvalidLegacyProtocolMagic && 
DatabaseDescriptor.getInvalidLegacyProtocolMagicNoSpamEnabled())

Review Comment:
   ```suggestion
               else if (cause != null && Throwables.getRootCause(cause) 
instanceof Message.InvalidLegacyProtocolMagic && 
DatabaseDescriptor.getInvalidLegacyProtocolMagicNoSpamEnabled())
   ```



-- 
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]

Reply via email to