cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject git commit: Fix scary message about secondaries always being created at startup
Date Mon, 23 Jul 2012 23:31:31 GMT
Updated Branches:
  refs/heads/trunk 49f297417 -> d0d1b2cf3


Fix scary message about secondaries always being created at startup


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

Branch: refs/heads/trunk
Commit: d0d1b2cf3cd2bb2ddf66aa9fcdab5566954683ab
Parents: 49f2974
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Mon Jul 23 18:30:13 2012 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Mon Jul 23 18:31:09 2012 -0500

----------------------------------------------------------------------
 .../cassandra/db/index/SecondaryIndexManager.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d0d1b2cf/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java b/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
index f1d6268..c57f580 100644
--- a/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
+++ b/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
@@ -205,7 +205,6 @@ public class SecondaryIndexManager
             return null;
 
         assert cdef.getIndexType() != null;
-        logger.info("Creating new index : {}",cdef);
 
         SecondaryIndex index;
         try
@@ -231,6 +230,7 @@ public class SecondaryIndexManager
             {
                 index = currentIndex;
                 index.addColumnDef(cdef);
+                logger.info("Creating new index : {}",cdef);
             }
         }
         else


Mime
View raw message