https://issues.apache.org/bugzilla/show_bug.cgi?id=47369
Summary: DeltaRequest is never reset. (use BackupManager)
Product: Tomcat 6
Version: 6.0.20
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Cluster
AssignedTo: [email protected]
ReportedBy: [email protected]
DeltaRequest is never reset after the session replication when BackupManager is
used.
This means information on the previous session replication replicate again.
actions.size() of DeltaRequest increases until the session becomes invalid.
I think that I should reset DeltaRequest in each session replication.
For instance, as follows.
[start.]
Index: java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
===================================================================
--- java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
(revision 763870 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=763870 ))
+++ java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
(working copy)
@@ -401,6 +401,7 @@
rentry.getDiff(),
entry.getPrimary(),
entry.getBackupNodes());
+ rentry.resetDiff();
} catch (IOException x) {
log.error("Unable to diff object. Will replicate the
entire object instead.", x);
} finally {
[end.]
Best regards
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]