cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r985303 - /cassandra/trunk/src/java/org/apache/cassandra/io/sstable/SSTableWriter.java
Date Fri, 13 Aug 2010 17:50:21 GMT
Author: jbellis
Date: Fri Aug 13 17:50:21 2010
New Revision: 985303

URL: http://svn.apache.org/viewvc?rev=985303&view=rev
Log:
fix build

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/io/sstable/SSTableWriter.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/io/sstable/SSTableWriter.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/io/sstable/SSTableWriter.java?rev=985303&r1=985302&r2=985303&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/io/sstable/SSTableWriter.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/io/sstable/SSTableWriter.java Fri Aug 13
17:50:21 2010
@@ -57,7 +57,7 @@ public class SSTableWriter extends SSTab
     {
         super(filename, metadata, partitioner);
         iwriter = new IndexWriter(desc, partitioner, keyCount);
-        dbuilder = SegmentedFile.getBuilder();
+        dbuilder = SegmentedFile.getBuilder(DatabaseDescriptor.getDiskAccessMode());
         dataFile = new BufferedRandomAccessFile(getFilename(), "rw", DatabaseDescriptor.getInMemoryCompactionLimit());
     }
 
@@ -344,7 +344,7 @@ public class SSTableWriter extends SSTab
             this.desc = desc;
             this.partitioner = part;
             indexFile = new BufferedRandomAccessFile(desc.filenameFor(SSTable.COMPONENT_INDEX),
"rw", 8 * 1024 * 1024);
-            builder = SegmentedFile.getBuilder();
+            builder = SegmentedFile.getBuilder(DatabaseDescriptor.getIndexAccessMode());
             summary = new IndexSummary();
             bf = BloomFilter.getFilter(keyCount, 15);
         }



Mime
View raw message