jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1367881 - /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java
Date Wed, 01 Aug 2012 08:11:17 GMT
Author: andy
Date: Wed Aug  1 08:11:17 2012
New Revision: 1367881

URL: http://svn.apache.org/viewvc?rev=1367881&view=rev
Log:
Turn off batching of commits for write-back for a release.  Release in safest form.

Modified:
    jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java

Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java?rev=1367881&r1=1367880&r2=1367881&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java
(original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java
Wed Aug  1 08:11:17 2012
@@ -97,8 +97,6 @@ public class TransactionManager
     private DatasetGraphTDB baseDataset ;
     private Journal journal ;
     
-    // TODO Tidy up - more to end-of-file.
-    
     /* Various policies:
      * + MRSW : writer locks to write back; blocks until let trhough.  Every reader takes
an read lock.
      * + Writers write if free, else queue for a reader or writer to clearup.
@@ -202,7 +200,7 @@ public class TransactionManager
         /** This controls how many write transactions we batch up before 
          *  deciding to flush the journal to the main database.  
          */
-        private static final int QueueBatchSize = 10 ; 
+        private static final int QueueBatchSize = 0 ; 
         
         @Override public void writerCommits(Transaction txn)
         {
@@ -248,14 +246,14 @@ public class TransactionManager
     // Still use semaphore for writer entry control.
     class TSM_WriterWriteBack extends TSM_Base
     {
-        // TODO
+        // Not implemented
     }
     
     // Policy for writing where a transaction takes an  MRSW at the start.
     // Semaphore for writer entry unnecessary.
     class TSM_MRSW_Writer extends TSM_Base
     {
-        // TODO
+        // Not implemented
     }
     
 



Mime
View raw message