[ 
https://issues.apache.org/jira/browse/TS-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782638#comment-13782638
 ] 

ASF subversion and git services commented on TS-2259:
-----------------------------------------------------

Commit 70d7b0141212b5234e0765fb2640eaaf36fd9eaf in branch refs/heads/master 
from [~yunkai]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=70d7b01 ]

Add CHANGES for TS-2259/TS-2260

Signed-off-by: Yunkai Zhang <qiushu....@taobao.com>


> Introduce failover for logging system
> -------------------------------------
>
>                 Key: TS-2259
>                 URL: https://issues.apache.org/jira/browse/TS-2259
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Logging
>            Reporter: Yunkai Zhang
>            Assignee: Yunkai Zhang
>             Fix For: 4.1.0
>
>         Attachments: 
> 0001-TS-2259-Introduce-failover-hosts-for-logging-system.patch, 
> 0001-TS-2259-Introduce-failover-hosts-for-logging-system.V2.patch
>
>
> I have submitted a patch which will introduce failover hosts for collation 
> host by using '|' delimiter
> to extend <CollationHosts> tags in logs_xml.config.
> Let me give an example:
> {code}
> <CollationHosts = "host1:5000|host2:5000|host3:6000, 209.131.52.129:6000"/>
> {code}
> In the example above, host2/host3 are failover hosts for host1. When host1
> disconnected, log entries will be sent to host2, and then if host2 failed 
> again,
> log entries will be sent to host3 until host1 or host2 comes back.
> Let's give another more complex example:
> {code}
> <CollationHosts = "host1|host2|host3, host4|host5">
> {code}
> In this example, there are two host groups: (host1|host2|host3) and 
> (host4|host5), 
> 1) host2/host3 are failover hosts for host1, 
> 2) host5 is failover host for host4.
> All log entries will be both send to these two host groups, but in each 
> group,  log entries will only be sent to the first connected host.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to