[
https://issues.apache.org/jira/browse/TS-4707?focusedWorklogId=28808&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-28808
]
ASF GitHub Bot logged work on TS-4707:
--------------------------------------
Author: ASF GitHub Bot
Created on: 12/Sep/16 16:56
Start Date: 12/Sep/16 16:56
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_r78410695
--- Diff: proxy/ControlMatcher.h ---
@@ -136,7 +137,16 @@ class HttpRequestData : public RequestData
inkcoreapi sockaddr const *get_ip();
inkcoreapi sockaddr const *get_client_ip();
- HttpRequestData() : hdr(NULL), hostname_str(NULL), api_info(NULL),
xact_start(0), incoming_port(0), tag(NULL), internal_txn(false)
+ HttpRequestData()
+ : hdr(NULL),
+ hostname_str(NULL),
+ api_info(NULL),
+ xact_start(0),
+ incoming_port(0),
+ tag(NULL),
+ internal_txn(false),
+ cache_info_lookup_url(NULL),
--- End diff --
I added the cache_info_lookup_url since it was mentioned to be needed for
TS-4025 by @jrushford in one of the comments above. If we are not going to use
it (but use only the parent selection URL instead), then I can remove it. But I
would like to hear from @zwoop or @jrushford to confirm.
Issue Time Tracking
-------------------
Worklog Id: (was: 28808)
Time Spent: 9h 40m (was: 9.5h)
> 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 40m
> 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)