[
https://issues.apache.org/jira/browse/TS-4707?focusedWorklogId=26134&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26134
]
ASF GitHub Bot logged work on TS-4707:
--------------------------------------
Author: ASF GitHub Bot
Created on: 01/Aug/16 22:49
Start Date: 01/Aug/16 22:49
Worklog Time Spent: 10m
Work Description: GitHub user pbchou opened a pull request:
https://github.com/apache/trafficserver/pull/834
TS-4707 : Parent Consistent Hash Selection - add fname and maxdirs
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pbchou/trafficserver TS-4707
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/834.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #834
----
commit 09ff7e0466b5cebfb50901f8d29cc1b40b7c182c
Author: Peter Chou <[email protected]>
Date: 2016-08-01T22:34:59Z
TS-4707 : Parent Consistent Hash Selection - add fname and maxdirs options.
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.
----
Issue Time Tracking
-------------------
Worklog Id: (was: 26134)
Time Spent: 10m
Remaining Estimate: 0h
> 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
> Time Spent: 10m
> 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)