Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47369
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 15 Jun 2009 17:35:07 +0000 (17:35 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 15 Jun 2009 17:35:07 +0000 (17:35 +0000)
Patch provided by Keiichi Fujino

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@784879 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

index 34e7e92..2efb550 100644 (file)
@@ -401,6 +401,7 @@ public abstract class AbstractReplicatedMap extends ConcurrentHashMap implements
                                          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 {