jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1580773 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/Checkpoints.java
Date Mon, 24 Mar 2014 06:38:48 GMT
Author: chetanm
Date: Mon Mar 24 06:38:47 2014
New Revision: 1580773

URL: http://svn.apache.org/r1580773
Log:
OAK-1586 - Implement checkpoint support in DocumentNodeStore

-- Add ID to UpdateOp

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/Checkpoints.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/Checkpoints.java?rev=1580773&r1=1580772&r2=1580773&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/Checkpoints.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/Checkpoints.java
Mon Mar 24 06:38:47 2014
@@ -105,6 +105,7 @@ class Checkpoints {
     private void createIfNotExist() {
         if (store.find(NODES, ID) == null) {
             UpdateOp updateOp = new UpdateOp(ID, true);
+            updateOp.set(Document.ID, ID);
             store.createOrUpdate(NODES, updateOp);
         }
     }



Mime
View raw message