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) +++ 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
Fixed in trunk, proposed for backport into 6.0.x Thank you for the patch, much appreciated.