cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [04/10] git commit: fix broken build
Date Tue, 08 Apr 2014 19:46:42 GMT
fix broken build


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

Branch: refs/heads/trunk
Commit: 97a6e36bcdb6e186c07acac8ab9baaafd37d43ad
Parents: 1755f65
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Tue Apr 8 14:42:04 2014 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Tue Apr 8 14:42:04 2014 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/StorageService.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/97a6e36b/src/java/org/apache/cassandra/service/StorageService.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java
index 473ef49..a7541f4 100644
--- a/src/java/org/apache/cassandra/service/StorageService.java
+++ b/src/java/org/apache/cassandra/service/StorageService.java
@@ -1373,12 +1373,11 @@ public class StorageService extends NotificationBroadcasterSupport
implements IE
                     break;
                 case SCHEMA:
                     SystemTable.updatePeerInfo(endpoint, "schema_version", value.value);
+                    MigrationManager.instance.scheduleSchemaPull(endpoint, epState);
                     break;
                 case HOST_ID:
                     SystemTable.updatePeerInfo(endpoint, "host_id", value.value);
                     break;
-                case SCHEMA:
-                    MigrationManager.instance.scheduleSchemaPull(endpoint, epState);
             }
         }
     }


Mime
View raw message