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

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

                Author: ASF GitHub Bot
            Created on: 08/Sep/16 17:15
            Start Date: 08/Sep/16 17:15
    Worklog Time Spent: 10m 
      Work Description: Github user jpeach commented on a diff in the pull 
request:

    https://github.com/apache/trafficserver/pull/834#discussion_r78049293
  
    --- Diff: 
doc/developer-guide/api/functions/TSHttpTxnCacheParentSelectionUrlGet.en.rst ---
    @@ -0,0 +1,56 @@
    +.. Licensed to the Apache Software Foundation (ASF) under one or more
    +   contributor license agreements.  See the NOTICE file distributed
    +   with this work for additional information regarding copyright
    +   ownership.  The ASF licenses this file to you under the Apache
    +   License, Version 2.0 (the "License"); you may not use this file
    +   except in compliance with the License.  You may obtain a copy of
    +   the License at
    +
    +   http://www.apache.org/licenses/LICENSE-2.0
    +
    +   Unless required by applicable law or agreed to in writing, software
    +   distributed under the License is distributed on an "AS IS" BASIS,
    +   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
    +   implied.  See the License for the specific language governing
    +   permissions and limitations under the License.
    +
    +.. include:: ../../../common.defs
    +
    +.. default-domain:: c
    +
    +TSHttpTxnCacheParentSelectionUrlGet
    +**************************
    +
    +Synopsis
    +========
    +
    +`#include <ts/ts.h>`
    +
    +.. function:: TSReturnCode TSHttpTxnCacheParentSelectionUrlGet(TSHttpTxn 
txnp, TSMBuffer bufp, TSMLoc offset)
    +
    --- End diff --
    
    This man page isn't going to format nicely. You should group the synopsis 
at the top then discuss both APIs in the Description. There are other man pages 
that do this to give you an example. You should add a See Also with mentions of 
other relevant APIs.
    
    If you install sphinx, it is pretty easy to get the man page output to see 
how this renders.


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

    Worklog Id:     (was: 28459)
    Time Spent: 3h 20m  (was: 3h 10m)

> 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: 3h 20m
>  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