Peter Chou commented on TS-4707:

[~jrushford] [~zwoop] [~jpe...@apache.org] -- Except that you have to create a 
new plugin or modify an existing plugin to accomplish the same manipulation 
with the API in PR #1009. This may be a big hurdle from the user perspective. I 
think that since (a) we have allowed 'qstring' option in the past and (b) 
'fname' and 'maxdirs' are very much in the same ball-park (no new data 
structures are used in the path generation, we just adjust the base pointer 
position and length), that it would benefit the user to be able to accomplish a 
reasonable level of manipulation without invoking additional plugins or 
modifying existing plugins.

> 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.1.0
>          Time Spent: 11.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

Reply via email to