You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by yu...@apache.org on 2012/11/20 19:21:23 UTC
[4/6] git commit: need to set initialized flag when do initServer
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 <yu...@apache.org>
Authored: Tue Nov 20 12:19:46 2012 -0600
Committer: Yuki Morishita <yu...@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.