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/41c9ba63 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/41c9ba63 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/41c9ba63 Branch: refs/heads/trunk Commit: 41c9ba63d624d1d6863b67a0cbcf4144bfbea29c Parents: aba1f16 Author: Brandon Williams <brandonwilli...@apache.org> Authored: Mon Jul 23 18:30:13 2012 -0500 Committer: Brandon Williams <brandonwilli...@apache.org> Committed: Mon Jul 23 18:32:00 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/41c9ba63/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 6733c90..ba066e2 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