Author: jbellis
Date: Tue Jul 12 19:20:14 2011
New Revision: 1145728

URL: http://svn.apache.org/viewvc?rev=1145728&view=rev
Log:
add example of commitlog_sync_batch_window_in_ms to .yaml
patch by Wojciech Meler for CASSANDRA-2280

Modified:
    cassandra/branches/cassandra-0.8/conf/cassandra.yaml

Modified: cassandra/branches/cassandra-0.8/conf/cassandra.yaml
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/conf/cassandra.yaml?rev=1145728&r1=1145727&r2=1145728&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/conf/cassandra.yaml (original)
+++ cassandra/branches/cassandra-0.8/conf/cassandra.yaml Tue Jul 12 19:20:14 
2011
@@ -83,13 +83,16 @@ commitlog_rotation_threshold_in_mb: 128
 # commitlog_sync may be either "periodic" or "batch." 
 # When in batch mode, Cassandra won't ack writes until the commit log
 # has been fsynced to disk.  It will wait up to
-# CommitLogSyncBatchWindowInMS milliseconds for other writes, before
+# commitlog_sync_batch_window_in_ms milliseconds for other writes, before
 # performing the sync.
-commitlog_sync: periodic
-
+#
+# commitlog_sync: batch
+# commitlog_sync_batch_window_in_ms: 50
+#
 # the other option is "periodic" where writes may be acked immediately
 # and the CommitLog is simply synced every commitlog_sync_period_in_ms
 # milliseconds.
+commitlog_sync: periodic
 commitlog_sync_period_in_ms: 10000
 
 # any class that implements the SeedProvider interface and has a constructor 
that takes a Map<String, String> of


Reply via email to