Github user aweisberg commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/239#discussion_r202477083
--- Diff:
src/java/org/apache/cassandra/db/streaming/CassandraStreamHeader.java ---
@@ -211,12 +228,16 @@ public void serialize(CassandraStreamHeader header,
DataOutputPlus out, int vers
SerializationHeader.serializer.serialize(header.version,
header.header, out);
+ header.tableId.serialize(out);
out.writeBoolean(header.fullStream);
+
if (header.fullStream)
{
out.writeInt(header.components.size());
for (ComponentInfo info : header.components)
ComponentInfo.serializer.serialize(info, out, version);
+
+
ByteBufferUtil.writeWithShortLength(header.firstKey.getKey(), out);
--- End diff --
I guess decorated keys don't get bigger than that? I mean... I couldn't
find us directly serializing decorated keys anywhere else. I'm not sure.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]