jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1487825 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/mongo/MongoStore.java
Date Thu, 30 May 2013 12:16:59 GMT
Author: jukka
Date: Thu May 30 12:16:59 2013
New Revision: 1487825

URL: http://svn.apache.org/r1487825
Log:
OAK-593: Segment-based MK

Avoid storing unnecessary extra data in MongoDB

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/mongo/MongoStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/mongo/MongoStore.java?rev=1487825&r1=1487824&r2=1487825&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/mongo/MongoStore.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/mongo/MongoStore.java
Thu May 30 12:16:59 2013
@@ -109,7 +109,7 @@ public class MongoStore implements Segme
         System.arraycopy(data, offset, d, 0, length);
 
         cache.addSegment(new Segment(
-                this, segmentId, ByteBuffer.wrap(data), referencedSegmentIds,
+                this, segmentId, ByteBuffer.wrap(d), referencedSegmentIds,
                 Collections.<String, RecordId>emptyMap(),
                 Collections.<Template, RecordId>emptyMap()));
 



Mime
View raw message