jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1606675 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java
Date Mon, 30 Jun 2014 10:31:02 GMT
Author: chetanm
Date: Mon Jun 30 10:31:02 2014
New Revision: 1606675

URL: http://svn.apache.org/r1606675
Log:
OAK-1676 - NodeStoreServices nondeterministic with customBlobStore

Move the log statement to the place where BlobStore is actually used. Currently log adds to
confusion if customBlobStore is not set and SNSS still mentions that BlobStore is being used

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java?rev=1606675&r1=1606674&r2=1606675&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java
Mon Jun 30 10:31:02 2014
@@ -151,6 +151,7 @@ public class SegmentNodeStoreService ext
 
         boolean memoryMapping = "64".equals(mode);
         if (customBlobStore) {
+            log.info("Initializing SegmentNodeStore with BlobStore [{}]", blobStore);
             store = new FileStore(
                     blobStore,
                     new File(directory),
@@ -224,7 +225,6 @@ public class SegmentNodeStoreService ext
     }
 
     protected void bindBlobStore(BlobStore blobStore) throws IOException {
-        log.info("Initializing SegmentNodeStore with BlobStore [{}]", blobStore);
         this.blobStore = blobStore;
         registerNodeStore();
     }



Mime
View raw message