Eliminate unecessary stats thread
---------------------------------
Key: TS-411
URL: https://issues.apache.org/jira/browse/TS-411
Project: Traffic Server
Issue Type: Bug
Reporter: Leif Hedstrom
Fix For: 2.1.2
There's an entire thread (that loops through every stat in the system) for this
one single stat (from Cache.cc):
IOCORE_RegisterStatUpdateFunc("proxy.process.cache.bytes_used");
I believe we can eliminate this entirely, and use the "cb" field instead, i.e.
change the define for the above macro to use RecRegisterRawStatUpdateFunc()
instead. This feature, "UpdateFunc", is only used by this one single stat, and
I'm fairly sure it's a legacy / remnant that should have been eliminated. Doing
this, will allow us to eliminate this thread completely.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.