jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1575216 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java
Date Fri, 07 Mar 2014 10:10:03 GMT
Author: mreutegg
Date: Fri Mar  7 10:10:03 2014
New Revision: 1575216

URL: http://svn.apache.org/r1575216
Log:
OAK-1429: Slow event listeners do not scale as expected

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java?rev=1575216&r1=1575215&r2=1575216&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java
Fri Mar  7 10:10:03 2014
@@ -1478,7 +1478,7 @@ public final class DocumentNodeStore
         addPathsForDiff(path, paths, getPendingModifications(), minRev);
         for (Revision r : new Revision[]{fromRev, toRev}) {
             if (r.isBranch()) {
-                Branch b = getBranches().getBranch(fromRev);
+                Branch b = getBranches().getBranch(r);
                 if (b != null) {
                     addPathsForDiff(path, paths, b.getModifications(r), r);
                 }



Mime
View raw message