diff --git a/CHANGES.txt b/CHANGES.txt index 0d153434ed..c72bf69c28 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 1.0.7 + * avoid logging (harmless) exception when GC takes < 1ms (CASSANDRA-3656) * add nodetool setstreamthroughput (CASSANDRA-3571) * fix assertion when dropping a columnfamily with no sstables (CASSANDRA-3614) * more efficient allocation of small bloom filters (CASSANDRA-3618) diff --git a/src/java/org/apache/cassandra/service/GCInspector.java b/src/java/org/apache/cassandra/service/GCInspector.java index 70fd99b440..46357ca1c4 100644 --- a/src/java/org/apache/cassandra/service/GCInspector.java +++ b/src/java/org/apache/cassandra/service/GCInspector.java @@ -99,8 +99,7 @@ public class GCInspector if (previousTotal.equals(total)) continue; gctimes.put(gc.getName(), total); - Long duration = total - previousTotal; - assert duration > 0; + Long duration = total - previousTotal; // may be zero for a really fast collection Long previousCount = gccounts.get(gc.getName()); Long count = gc.getCollectionCount();