cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject [4/6] git commit: need to set initialized flag when do initServer
Date Tue, 20 Nov 2012 18:21:23 GMT
need to set initialized flag when do initServer


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

Branch: refs/heads/trunk
Commit: 553b9e86d0da87738cbce9c39a5a8de8f5ed12d2
Parents: edf63d8
Author: Yuki Morishita <yukim@apache.org>
Authored: Tue Nov 20 12:19:46 2012 -0600
Committer: Yuki Morishita <yukim@apache.org>
Committed: Tue Nov 20 12:19:46 2012 -0600

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/553b9e86/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 0206f40..17b21d9 100644
--- a/src/java/org/apache/cassandra/service/StorageService.java
+++ b/src/java/org/apache/cassandra/service/StorageService.java
@@ -410,6 +410,7 @@ public class StorageService implements IEndpointStateChangeSubscriber,
StorageSe
                 throw new UnsupportedOperationException("StorageService does not support
switching modes.");
             return;
         }
+        initialized = true;
         isClientMode = false;
 
         // Ensure StorageProxy is initialized on start-up; see CASSANDRA-3797.


Mime
View raw message