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

Daniel Xu commented on TS-4400:
-------------------------------

The issue is that in mgmt/api/CoreAPI.cc, on line 189, the CoreAPI overrides 
the proxy_options in LocalManager and never clears proxy_options after TS 
starts back up. 

Here is the line in question: {{lmgmt->proxy_options = ats_strdup(tsArgs)}}

> TSProxyStateSet persist cache clearing across restart
> -----------------------------------------------------
>
>                 Key: TS-4400
>                 URL: https://issues.apache.org/jira/browse/TS-4400
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API
>            Reporter: James Peach
>            Assignee: Daniel Xu
>             Fix For: 7.1.0
>
>
> If you use {{TSProxyStateSet}} and and pass the options to clear the cache, 
> these options are persisted so that subsequent restarts will also clear the 
> cache. This seems pretty bad and likely to cause accidents. The options 
> should be one-shot.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to