[jira] [Commented] (TS-2479) orphan log Unreasonable when failover logging system

2014-01-06 Thread bettydramit (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13863523#comment-13863523
 ] 

bettydramit commented on TS-2479:
-

yehh, It works.

Feature: when master host serverrecover  to alive ,  ats will be retry 
to read orphan log and send to master log server

 orphan log Unreasonable when failover logging system
 

 Key: TS-2479
 URL: https://issues.apache.org/jira/browse/TS-2479
 Project: Traffic Server
  Issue Type: Bug
Reporter: bettydramit
Assignee: Yunkai Zhang
 Fix For: 4.2.0

 Attachments: 
 0001-TS-2479-Don-t-output-orphan-log-after-failover-suces.patch


 CollationHosts = 192.16.1.2:8085|172.16.1.2:8085/
 when 192.16.1.2 down, the log will send to 172.16.1.2,
 but the w3clog.txt_192.16.1.2-8085.orphan file will be store local log dir.
 172.16.1.2 is alive ,orphan log does not appear is reasonable.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (TS-2479) orphan log Unreasonable when failover logging system

2014-01-06 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13863884#comment-13863884
 ] 

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

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

TS-2479: Don't output orphan log after failover sucessfully

Don't output orphan log after failover successfully, BTW fix a potential
issue about LogBuffer-m_references.

==NOTE==:
Some logs maybe pending in the buffer of network thread when log server
is down, in which case, the pending logs will be outputed to orphan file,
and them will not be sent to the failover host.

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


 orphan log Unreasonable when failover logging system
 

 Key: TS-2479
 URL: https://issues.apache.org/jira/browse/TS-2479
 Project: Traffic Server
  Issue Type: Bug
Reporter: bettydramit
Assignee: Yunkai Zhang
 Fix For: 4.2.0

 Attachments: 
 0001-TS-2479-Don-t-output-orphan-log-after-failover-suces.patch


 CollationHosts = 192.16.1.2:8085|172.16.1.2:8085/
 when 192.16.1.2 down, the log will send to 172.16.1.2,
 but the w3clog.txt_192.16.1.2-8085.orphan file will be store local log dir.
 172.16.1.2 is alive ,orphan log does not appear is reasonable.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (TS-2479) orphan log Unreasonable when failover logging system

2014-01-05 Thread Yunkai Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13862820#comment-13862820
 ] 

Yunkai Zhang commented on TS-2479:
--

I tested it just now, it was OK in my testing by using jtest tool to make 90K 
QPS, no orphan file was created.

Can you make sure that 172.16.1.2 is alive when 192.16.1.2 down?

 orphan log Unreasonable when failover logging system
 

 Key: TS-2479
 URL: https://issues.apache.org/jira/browse/TS-2479
 Project: Traffic Server
  Issue Type: Bug
Reporter: bettydramit
Assignee: Yunkai Zhang

 CollationHosts = 192.16.1.2:8085|172.16.1.2:8085/
 when 192.16.1.2 down, the log will send to 172.16.1.2,
 but the w3clog.txt_192.16.1.2-8085.orphan file will be store local log dir.
 172.16.1.2 is alive ,orphan log does not appear is reasonable.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)