aweisberg commented on code in PR #4447:
URL: https://github.com/apache/cassandra/pull/4447#discussion_r2789640118
##########
src/java/org/apache/cassandra/service/paxos/CasForwardRequest.java:
##########
@@ -108,10 +105,36 @@ public long serializedSize(CasForwardRequest
forwardRequest, int version)
size += 1; // consistencyForPaxos.code
size += 1; // consistencyForCommit.code
size += TypeSizes.sizeofUnsignedVInt(forwardRequest.nowInSeconds);
- size +=
RemoteClientState.serializer.serializedSize(forwardRequest.clientState,
version);
+ size += serializedSizeClientState(forwardRequest.clientState);
size +=
CQL3CasRequest.serializer.serializedSize(forwardRequest.casRequest, version);
-
return size;
}
+
+ private static final int IS_SUPER = 0x01;
Review Comment:
Shouldn't serialization be in ClientState?
--
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]