accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1430997 - /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletStatsKeeper.java
Date Wed, 09 Jan 2013 18:15:31 GMT
Author: ecn
Date: Wed Jan  9 18:15:31 2013
New Revision: 1430997

URL: http://svn.apache.org/viewvc?rev=1430997&view=rev
Log:
ACCUMULO-641 fix queue time stat

Modified:
    accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletStatsKeeper.java

Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletStatsKeeper.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletStatsKeeper.java?rev=1430997&r1=1430996&r2=1430997&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletStatsKeeper.java
(original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletStatsKeeper.java
Wed Jan  9 18:15:31 2013
@@ -56,7 +56,7 @@ public class TabletStatsKeeper {
         data.count += count;
         data.num++;
         data.elapsed += t;
-        data.queueTime += t;
+        data.queueTime += q;
         data.sumDev += t * t;
         data.queueSumDev += q * q;
         if (data.elapsed < 0 || data.sumDev < 0 || data.queueSumDev < 0 || data.queueTime
< 0)



Mime
View raw message