You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2011/02/10 18:43:03 UTC

svn commit: r1069495 - /trafficserver/traffic/trunk/mgmt/LocalManager.cc

Author: zwoop
Date: Thu Feb 10 17:43:03 2011
New Revision: 1069495

URL: http://svn.apache.org/viewvc?rev=1069495&view=rev
Log:
TS-651 Clear all stats when we ask to clear the local stats.

Modified:
    trafficserver/traffic/trunk/mgmt/LocalManager.cc

Modified: trafficserver/traffic/trunk/mgmt/LocalManager.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/mgmt/LocalManager.cc?rev=1069495&r1=1069494&r2=1069495&view=diff
==============================================================================
--- trafficserver/traffic/trunk/mgmt/LocalManager.cc (original)
+++ trafficserver/traffic/trunk/mgmt/LocalManager.cc Thu Feb 10 17:43:03 2011
@@ -154,9 +154,7 @@ LocalManager::clearStats()
   //   stats getting cleared by progation of clearing the
   //   cluster stats
   //
-  // TODO: This doesn't clear all stats, should we do so? E.g.
-  // RecResetStatRecord(NULL, all);
-  RecResetStatRecord();
+  RecResetStatRecord(RECT_NULL, true);
 
   // If the proxy is not running, sending the signal does
   //   not do anything.  Remove the stats file to make sure