Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 a3f1eedae -> 2084f3fb1


Document commitlog segment size and max mutations size link

patch by Tushar Agrawal; reviewed by Chris Gerlt for CASSANDRA-10256


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2084f3fb
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2084f3fb
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2084f3fb

Branch: refs/heads/cassandra-3.0
Commit: 2084f3fb19294fef586c64ccf065fb1457574327
Parents: a3f1eed
Author: Tushar Agrawal <agrawal.tus...@gmail.com>
Authored: Fri Oct 2 14:45:04 2015 -0700
Committer: Aleksey Yeschenko <alek...@apache.org>
Committed: Fri Oct 2 14:45:04 2015 -0700

----------------------------------------------------------------------
 conf/cassandra.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2084f3fb/conf/cassandra.yaml
----------------------------------------------------------------------
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index f03a2f9..4fd249f 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -312,12 +312,18 @@ commitlog_sync_period_in_ms: 10000
 # The size of the individual commitlog file segments.  A commitlog
 # segment may be archived, deleted, or recycled once all the data
 # in it (potentially from each columnfamily in the system) has been
-# flushed to sstables.  
+# flushed to sstables.
 #
 # The default size is 32, which is almost always fine, but if you are
 # archiving commitlog segments (see commitlog_archiving.properties),
 # then you probably want a finer granularity of archiving; 8 or 16 MB
 # is reasonable.
+# Max mutation size is also configurable via max_mutation_size_in_kb setting in
+# cassandra.yaml. The default is half the size commitlog_segment_size_in_mb * 
1024.
+#
+# NOTE: If max_mutation_size_in_kb is set explicitly then 
commitlog_segment_size_in_mb must
+# be set to at least twice the size of max_mutation_size_in_kb / 1024
+#
 commitlog_segment_size_in_mb: 32
 
 # Compression to apply to the commit log. If omitted, the commit log

Reply via email to