tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: svn commit: r931061 - /tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
Date Tue, 06 Apr 2010 13:44:43 GMT
Excellent, welcome aboard!!

Filip

On 04/06/2010 03:25 AM, kfujino@apache.org wrote:
> Author: kfujino
> Date: Tue Apr  6 09:25:59 2010
> New Revision: 931061
>
> URL: http://svn.apache.org/viewvc?rev=931061&view=rev
> Log:
> memberAlive is not called if member has not already existed in membership.
>
> Modified:
>      tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
>
> Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java?rev=931061&r1=931060&r2=931061&view=diff
> ==============================================================================
> --- tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
(original)
> +++ tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
Tue Apr  6 09:25:59 2010
> @@ -145,6 +145,11 @@ public class TcpFailureDetector extends
>               if(log.isInfoEnabled())
>                   log.info("Received memberDisappeared["+member+"] message. Will verify.");
>           synchronized (membership) {
> +            if (!membership.contains(member)) {
> +                if(log.isInfoEnabled())
> +                    log.info("Verification complete. Member already disappeared["+member+"]");
> +                return;
> +            }
>               //check to see if the member really is gone
>               //if the payload is not a shutdown message
>               if (shutdown || !memberAlive(member)) {
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message