adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1122184147


##########
src/java/org/apache/cassandra/db/ReadCommand.java:
##########
@@ -1097,7 +1100,7 @@ public long serializedSize(ReadCommand command, int 
version)
             return 2 // kind + flags
                    + (command.isDigestQuery() ? 
TypeSizes.sizeofUnsignedVInt(command.digestVersion()) : 0)
                    + command.metadata().id.serializedSize()
-                   + TypeSizes.sizeof(command.nowInSec())
+                   + TypeSizes.INT_SIZE

Review Comment:
   ```suggestion
                      + TypeSizes.INT_SIZE // command.nowInSec() is serialized 
as uint
   ```



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