tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r817103 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/ha/session/DeltaManager.java webapps/docs/changelog.xml
Date Sun, 20 Sep 2009 20:54:18 GMT
Author: rjung
Date: Sun Sep 20 20:54:17 2009
New Revision: 817103

URL: http://svn.apache.org/viewvc?rev=817103&view=rev
Log:
Spurious cluster startup errors during session transfer.
Sessions get transferred, but node still waits until timeout.

Modified:
    tomcat/tc6.0.x/trunk/STATUS.txt
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java
    tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=817103&r1=817102&r2=817103&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Sun Sep 20 20:54:17 2009
@@ -280,17 +280,6 @@
   +1: markt, rjung, jim
   -1: 
 
-* Spurious startup errors in the cluster observed for TC 5.5.
-  Although the secondary node is able to retrieve all sessions,
-  the main thread doesn't see the changed stateTransfered flag,
-  and thus waits until the transfer timeout occurs.
-  Observed on Solaris. Switching to volatile fixes it.
-  Performance implications are neglectable, because the
-  variable is only used during context startup.
-  Backport from trunk: http://svn.apache.org/viewvc?rev=814024&view=rev
-  +1: rjung, markt, jim
-  -1:
-
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47826
   Broken debug message
   http://svn.apache.org/viewvc?rev=814180&view=rev

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java?rev=817103&r1=817102&r2=817103&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java Sun Sep 20
20:54:17 2009
@@ -112,7 +112,7 @@
     private boolean expireSessionsOnShutdown = false;
     private boolean notifyListenersOnReplication = true;
     private boolean notifySessionListenersOnReplication = true;
-    private boolean stateTransfered = false ;
+    private volatile boolean stateTransfered = false ;
     private int stateTransferTimeout = 60;
     private boolean sendAllSessions = true;
     private boolean sendClusterDomainOnly = true ;

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=817103&r1=817102&r2=817103&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Sun Sep 20 20:54:17 2009
@@ -240,11 +240,21 @@
   </subsection>
   <subsection name="Cluster">
     <changelog>
-      <update>Perform deserializtion events with context class loader</update>
-      <fix><bug>47515</bug>Correctly replicate timestamp during startup</fix>
-      <fix><bug>47478</bug>Call replication listeners when using BackupManager</fix>
       <fix>
-        <bug>47369</bug>: Reset data diff after replication
+        Spurious startup errors during session transfer.
+        Sessions get transferred, but node still waits until timeout. (rjung)
+      </fix>
+      <update>
+        Perform deserializtion events with context class loader. (fhanik)
+      </update>
+      <fix>
+        <bug>47515</bug>Correctly replicate timestamp during startup. (fhanik)
+      </fix>
+      <fix>
+        <bug>47478</bug>Call replication listeners when using BackupManager.
(fhanik)
+      </fix>
+      <fix>
+        <bug>47369</bug>: Reset data diff after replication. (fhanik)
       </fix>
       <fix>
         <bug>40551</bug>: Enable the JvmRouteBinderValve to work with



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


Mime
View raw message