[ 
https://issues.apache.org/jira/browse/TS-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756434#comment-13756434
 ] 

Yunkai Zhang commented on TS-2173:
----------------------------------

I have submitted a patch to fixed this issue.

Before applied this patch:
{code}
[root@test78 ~]# lynx -dump http://localhost:8080/stat/ | grep 
proxy.node.cache_total_*
proxy.node.cache_total_hits_avg_10s=464625.000000
proxy.node.cache_total_hits_mem_avg_10s=464625.000000
proxy.node.cache_total_misses_avg_10s=0.000000
proxy.node.cache_total_hits=0
proxy.node.cache_total_hits_mem=1925501379
proxy.node.cache_total_misses=0
{code}

After applied patch:
{code}
[root@test78 ~]# lynx -dump http://localhost:8080/stat/ | grep 
proxy.node.cache_total_*
proxy.node.cache_total_hits_avg_10s=531096.000000
proxy.node.cache_total_hits_mem_avg_10s=531096.000000
proxy.node.cache_total_misses_avg_10s=0.000000
proxy.node.cache_total_hits=1942623330
proxy.node.cache_total_hits_mem=1942588963
proxy.node.cache_total_misses=54096
{code}
                
> cache total hit/miss stats broken in version 4.0.1
> --------------------------------------------------
>
>                 Key: TS-2173
>                 URL: https://issues.apache.org/jira/browse/TS-2173
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Stats
>    Affects Versions: 4.0.1
>            Reporter: Scott Harris
>            Assignee: Yunkai Zhang
>             Fix For: 4.1.0
>
>         Attachments: 
> 0001-TS-2173-RECD_COUNTER-type-is-missing-in-setTokenValu.patch
>
>
> In version 4.0.1 both proxy.node.cache_total_hits and 
> proxy.node.cache_total_misses always return 0
> In version 3.2.5 both stats returned correctly.

--
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

Reply via email to