jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject svn commit: r1687018 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
Date Tue, 23 Jun 2015 10:27:46 GMT
Author: unico
Date: Tue Jun 23 10:27:45 2015
New Revision: 1687018

URL: http://svn.apache.org/r1687018
Log:
JCR-3888 update the local revision within the batch too

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java?rev=1687018&r1=1687017&r2=1687018&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
Tue Jun 23 10:27:45 2015
@@ -697,11 +697,12 @@ public class ClusterNode implements Runn
                 return;
             }
             try {
-                long journalUpdateSize = record.update();
 
                 long recordRevision = record.getRevision();
                 setRevision(recordRevision);
 
+                long journalUpdateSize = record.update();
+
                 log.debug("Stored record '{}' to Journal ({})", recordRevision, journalUpdateSize);
 
                 Object updateSizeValue = update.getAttribute(ATTRIBUTE_UPDATE_SIZE);



Mime
View raw message