[ 
https://issues.apache.org/jira/browse/TS-4707?focusedWorklogId=27366&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27366
 ]

ASF GitHub Bot logged work on TS-4707:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Aug/16 19:12
            Start Date: 29/Aug/16 19:12
    Worklog Time Spent: 10m 
      Work Description: Github user jrushford commented on the issue:

    https://github.com/apache/trafficserver/pull/834
  
    @zwoop @pbchou - This looks okay to me but, what do you think of modifying 
the parent selection API to pass the Http transaction state then there would be 
no need for the mime header.  Currently the parent selection functions look 
like this:
    
    ```
    s->parent_params->findParent(&s->request_data, &s->parent_result);
    s->parent_params->nextParent(&s->request_data, &s->parent_result);
    s->parent_params->apiParentExists(&s->request_data)
    s->parent_params->parentExists(&s->request_data)
    
    new API calls:
    
    s->parent_params->findParent(s);
    s->parent_params->nextParent(s);
    s->parent_params->apiParentExists(s)
    s->parent_params->parentExists(s)
    ```


Issue Time Tracking
-------------------

    Worklog Id:     (was: 27366)
    Time Spent: 1.5h  (was: 1h 20m)

> Parent Consistent Hash Selection - add fname and maxdirs options.
> -----------------------------------------------------------------
>
>                 Key: TS-4707
>                 URL: https://issues.apache.org/jira/browse/TS-4707
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Parent Proxy
>            Reporter: Peter Chou
>            Assignee: Peter Chou
>             Fix For: 7.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> This enhancement adds two options, "fname" and "maxdirs", which can be used 
> to exclude the file-name and some of the directories in the path. The 
> remaining portions of the path are then used as part of the hash computation 
> for selecting among multiple parent caches.
> For our usage, it was desirable from an operational perspective to direct all 
> components of particular sub-tree to a single parent cache (to simplify 
> trouble-shooting, pre-loading, etc.). This can be achieved by excluding the 
> query-string, file-name, and right-most portions of the path from the hash 
> computation.



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

Reply via email to