GitHub user zhilhuan opened an issue:

    https://github.com/apache/trafficserver/issues/1501

    incorrect configuration in parent.config impacted next line configuration

    Testing ATS 5.3.2 with the following configuration in parent.config:
    
     # DO NOT EDIT - Generated 
     dest_domain=live.demo01.labs.com go_direct=true
     dest_domain=vod.demo05.labs.com parent=""  round_robin=consistent_hash 
go_direct=false qstring=ignore
     dest_domain=live.demo05.labs.com go_direct=true
    
    
    A warning will be reported as:
    
    [Feb 21 09:21:37.320] Server {0x2af5516f5940} WARNING: [ParentSelection] No 
parents specified at line 3
    
    
    However, this impacts the correct configuration in the next line. The 
default value for "parent_is_proxy" should be "true", but overwritten to 
"false". 
    With debug enabled, we got the following print:
    
    [Feb 21 09:18:53.076] Server {0x2ae3bbc92940} DEBUG: (parent_select) Using 
a round robin parent selection strategy of type P_NO_ROUND_R
    OBIN.
    Parent Selection Config
            Enabled 1       RetryTime 300   Parent DNS Only 0
            No Default Parent
      Control Matcher Table: [ParentSelection]
            Host/Domain Matcher with 2 elements
                    Domain (Partial) for llive.demo01.labs.com
                     direct=true
     parent_is_proxy=true
                    Domain (Partial) for live.demo05.labs.com
                     direct=true
     parent_is_proxy=false

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to