You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ch...@apache.org on 2014/06/30 12:31:02 UTC
svn commit: r1606675 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService.java
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();
}