mirror of https://github.com/apache/cassandra
Fix 4.0 node sending a repair prepare message to a 3.x node breaking the connection
patch by Aleksey Yeschenko; reviewed by Marcus Eriksson for CASSANDRA-16542
This commit is contained in:
parent
e031ed09a9
commit
efe830e1f7
|
|
@ -1,4 +1,6 @@
|
|||
4.0-beta5
|
||||
* Fix 4.0 node sending a repair prepare message to a 3.x node breaking the connection
|
||||
(CASSANDRA-16542)
|
||||
* Removed synchronized modifier from StreamSession#onChannelClose to prevent deadlocking on flush (CASSANDRA-15892)
|
||||
* Throw IOE in AbstractType.writeValue if value has wrong fixed length (CASSANDRA-16500)
|
||||
* Execute background refreshing of auth caches on a dedicated executor (CASSANDRA-15177)
|
||||
|
|
|
|||
|
|
@ -130,8 +130,6 @@ public class PrepareMessage extends RepairMessage
|
|||
|
||||
public long serializedSize(PrepareMessage message, int version)
|
||||
{
|
||||
Preconditions.checkArgument(version == MessagingService.current_version, MIXED_MODE_ERROR);
|
||||
|
||||
long size;
|
||||
size = TypeSizes.sizeof(message.tableIds.size());
|
||||
for (TableId tableId : message.tableIds)
|
||||
|
|
|
|||
Loading…
Reference in New Issue