You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2016/08/17 18:44:20 UTC

[jira] [Commented] (TS-4394) HttpSM should keep track of what states it has passed through

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

Alan M. Carroll commented on TS-4394:
-------------------------------------

I think {{history}} member of the {{HttpSM}} does this, I think.

> HttpSM should keep track of what states it has passed through
> -------------------------------------------------------------
>
>                 Key: TS-4394
>                 URL: https://issues.apache.org/jira/browse/TS-4394
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Thomas Jackson
>             Fix For: sometime
>
>
> When implementing the fix for TS-4328 I needed to answer the question "did we ever send bytes to the server". This should be relatively simple to answer-- as there is a specific state that connects to origin and then sends the request. At this point nothing in the SM keeps track of where we have been, the closest we have are the milestones-- which we are apparently not happy with using for any logic (only for metrics).
> So, the TLDR is that we'd like a mechanism in the HttpSM to see where the SM has gone and its current state. This would be especially helpful for debugging, as we would be able to tell what all the SM has done.



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