Remove assertion that gossip is active in migration manager.
Patch by brandonwilliams, reviewed by iamaleksey for CASSANDRA-5236


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

Branch: refs/heads/cassandra-1.2
Commit: aba9a17742ff6fd6fec2a355d7d7cce68fd06f04
Parents: 05709f7
Author: Brandon Williams <[email protected]>
Authored: Wed Feb 27 10:37:14 2013 -0600
Committer: Brandon Williams <[email protected]>
Committed: Wed Feb 27 10:37:14 2013 -0600

----------------------------------------------------------------------
 .../apache/cassandra/service/MigrationManager.java |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/aba9a177/src/java/org/apache/cassandra/service/MigrationManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/MigrationManager.java 
b/src/java/org/apache/cassandra/service/MigrationManager.java
index 9a82517..49e0c93 100644
--- a/src/java/org/apache/cassandra/service/MigrationManager.java
+++ b/src/java/org/apache/cassandra/service/MigrationManager.java
@@ -277,7 +277,6 @@ public class MigrationManager implements 
IEndpointStateChangeSubscriber
      */
     public static void passiveAnnounce(UUID version)
     {
-        assert Gossiper.instance.isEnabled();
         Gossiper.instance.addLocalApplicationState(ApplicationState.SCHEMA, 
StorageService.instance.valueFactory.schema(version));
         logger.debug("Gossiping my schema version " + version);
     }

Reply via email to