cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject cassandra git commit: Fix min protocol version for SCHEMA, TOPOLOGY, STATUS events
Date Thu, 14 May 2015 17:59:23 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk a7fed2995 -> 6288dd9d2


Fix min protocol version for SCHEMA, TOPOLOGY, STATUS events

These were accidentally set to only accept v2+ in CASSANDRA-7807


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/6288dd9d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/6288dd9d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/6288dd9d

Branch: refs/heads/trunk
Commit: 6288dd9d2388e13fbaabb7bcbfc5a97bff5feb37
Parents: a7fed29
Author: Tyler Hobbs <tylerlhobbs@gmail.com>
Authored: Thu May 14 12:58:30 2015 -0500
Committer: Tyler Hobbs <tylerlhobbs@gmail.com>
Committed: Thu May 14 12:58:30 2015 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/transport/Event.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/6288dd9d/src/java/org/apache/cassandra/transport/Event.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/Event.java b/src/java/org/apache/cassandra/transport/Event.java
index 070c27b..16b5f64 100644
--- a/src/java/org/apache/cassandra/transport/Event.java
+++ b/src/java/org/apache/cassandra/transport/Event.java
@@ -29,9 +29,9 @@ import io.netty.buffer.ByteBuf;
 public abstract class Event
 {
     public enum Type {
-        TOPOLOGY_CHANGE(Server.VERSION_2),
-        STATUS_CHANGE(Server.VERSION_2),
-        SCHEMA_CHANGE(Server.VERSION_2),
+        TOPOLOGY_CHANGE(Server.VERSION_1),
+        STATUS_CHANGE(Server.VERSION_1),
+        SCHEMA_CHANGE(Server.VERSION_1),
         TRACE_COMPLETE(Server.VERSION_4);
 
         public final int minimumVersion;


Mime
View raw message