Yunkai Zhang created TS-2174:
--------------------------------
Summary: Fix traffic_shell broken by TS-1740
Key: TS-2174
URL: https://issues.apache.org/jira/browse/TS-2174
Project: Traffic Server
Issue Type: Bug
Components: Stats
Reporter: Yunkai Zhang
I'm sorry for too late to fix this bug.
Here is an example about the broken of traffic_shell(reported by
Esmq<[email protected]> ):
{code}
echo 'show:proxy-stats' | sudo /usr/local/trafficserver/bin/traffic_shell
Successfully Initialized MgmtAPI in
/usr/local/trafficserver-4.0.1/var/trafficserver
trafficserver>
Document Hit Rate -------- 0.000000 % *
Ram cache Hit Rate ------- 0.000000 % *
Bandwidth Saving --------- 0.000000 % *
Cache Percent Free ------- 0.000000 %
Open Server Connections -- 473
Open Client Connections -- 3796
Open Cache Connections --- 1
Client Throughput -------- 18.100512 MBit/Sec
Transaction Per Second --- 0.000000
{code}
Since I nearly didn't use traffic_shell, and traffic_line works well for me, I
didn't notice this bug.
The root cause of this issue is that traffic_shell use RecFloat type to read
most stats variables, though these variables are no longer RecFloat type after
applied TS-1740, as a result bad conversion occurred.
We should make traffic_shell works as traffic_line, use the correct conversion
to read stats variables.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira