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


##########
src/java/org/apache/cassandra/net/OutboundConnection.java:
##########
@@ -824,7 +825,11 @@ boolean doRun(Established established)
                         Message.serializer.serialize(next, out, 
messagingVersion);
 
                         if (sending.length() != sendingBytes + messageSize)
+                        {
+                            DataOutputBufferFixed out2 = new 
DataOutputBufferFixed(ByteBuffer.allocate(sendingBytes + messageSize));
+                            Message.serializer.serialize(next, out2, 
messagingVersion);

Review Comment:
   why? this buffer gets ignored



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to