jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1451180 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
Date Thu, 28 Feb 2013 12:04:05 GMT
Author: mduerig
Date: Thu Feb 28 12:04:05 2013
New Revision: 1451180

URL: http://svn.apache.org/r1451180
Log:
OAK-638: Avoid branch/merge for small commits
correctly mark vacoous persist as succeeded

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java?rev=1451180&r1=1451179&r2=1451180&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStoreBranch.java
Thu Feb 28 12:04:05 2013
@@ -261,6 +261,7 @@ class KernelNodeStoreBranch implements N
                 NodeState branchHead = store.getRootState(headRevision);
                 if (head.equals(branchHead)) {
                     // nothing to persist
+                    success = true;
                     return;
                 } else {
                     head.compareAgainstBaseState(branchHead, diff);



Mime
View raw message