[
https://issues.apache.org/jira/browse/TS-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Sorber resolved TS-2091.
-----------------------------
Resolution: Fixed
After being loaded from the snap file, the stats still need to be "registered".
The TSStatFindName would return the stat even if it wasn't, and in that case it
had an invalid id of 0.
> Persistent stats not working
> ----------------------------
>
> Key: TS-2091
> URL: https://issues.apache.org/jira/browse/TS-2091
> Project: Traffic Server
> Issue Type: Bug
> Affects Versions: 3.3.4
> Reporter: Phil Sorber
> Labels: C
> Fix For: 3.3.6
>
>
> When creating TS_STAT_PERSISTENT stats in plugins in 3.3dev I don't see them
> as reloading properly. I can create them fine, and they get stored. Upon
> restarting TS I can see them in stats, but when doing TSStatFindName() I
> always get 0 back with a TS_SUCCESS. So it sees that they are there but does
> not have the correct ID for them to return.
--
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