[
https://issues.apache.org/jira/browse/TS-4707?focusedWorklogId=28814&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-28814
]
ASF GitHub Bot logged work on TS-4707:
--------------------------------------
Author: ASF GitHub Bot
Created on: 12/Sep/16 17:00
Start Date: 12/Sep/16 17:00
Worklog Time Spent: 10m
Work Description: Github user pbchou commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/834#discussion_r78411346
--- Diff: doc/admin-guide/files/parent.config.en.rst ---
@@ -225,6 +225,60 @@ The following list shows the possible actions and
their allowed values.
- ``consider`` - Use the query string when finding a parent.
- ``ignore`` - Do not consider the query string when finding a parent.
+.. _parent-config-format-fname:
+
+``fname``
+ One of the following values:
+
+ - ``consider`` - Use the file name string when finding a parent.
+ - ``ignore`` - Do not consider the file name string when finding a
parent.
--- End diff --
Default is "consider" same as with the existing qstring option. I followed
the same documentation conventions as for the existing options. I will add the
a "(default)" tag to both the qstring and fname options although qstring is not
mine.
Issue Time Tracking
-------------------
Worklog Id: (was: 28814)
Time Spent: 9h 50m (was: 9h 40m)
> 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: 9h 50m
> 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)