mirror of https://github.com/apache/cassandra
avoid logging (harmless) exception when GC takes < 1ms
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-3656 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1222437 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be53b6de31
commit
b41e645ea3
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue