jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1503177 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java
Date Mon, 15 Jul 2013 11:22:17 GMT
Author: jukka
Date: Mon Jul 15 11:22:17 2013
New Revision: 1503177

URL: http://svn.apache.org/r1503177
Log:
OAK-895: Random access for Lucene index binaries

Increase the blob size to more than the MongoMK inline limit

Modified:
    jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java

Modified: jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java?rev=1503177&r1=1503176&r2=1503177&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java
(original)
+++ jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java
Mon Jul 15 11:22:17 2013
@@ -112,7 +112,7 @@ class OakDirectory extends Directory {
         // do nothing
     }
 
-    private static final int BLOB_SIZE = 4092;
+    private static final int BLOB_SIZE = 10 * 1024; // > MongoMK inline limit
 
     private static class OakIndexFile {
 



Mime
View raw message