Author: kfujino
Date: Wed May 13 02:08:01 2015
New Revision: 1679128
URL: http://svn.apache.org/r1679128
Log:
Ensure that the state transfer flag is updated to true only when the map states
have been transferred correctly from existing map members.
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?rev=1679128&r1=1679127&r2=1679128&view=diff
==============================================================================
---
tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
(original)
+++
tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
Wed May 13 02:08:01 2015
@@ -504,6 +504,7 @@ public abstract class AbstractReplicated
messageReceived( (Serializable) list.get(i),
resp[0].getSource());
} //for
}
+ stateTransferred = true;
} else {
log.warn("Transfer state, 0 replies, probably a timeout.");
}
@@ -515,7 +516,6 @@ public abstract class AbstractReplicated
} catch (ClassNotFoundException x) {
log.error("Unable to transfer LazyReplicatedMap state.", x);
}
- stateTransferred = true;
}
/**
Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1679128&r1=1679127&r2=1679128&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed May 13 02:08:01 2015
@@ -66,6 +66,15 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Tribes">
+ <changelog>
+ <fix>
+ Ensure that the state transfer flag is updated to true only when the
map
+ states have been transferred correctly from existing map members.
+ (kfujino)
+ </fix>
+ </changelog>
+ </subsection>
</section>
<section name="Tomcat 7.0.62 (violetagg)">
<subsection name="Catalina">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]