From 31f2dcb342a75816e7b4fa5c2bca8d37ab98ed0c Mon Sep 17 00:00:00 2001 From: Calle Wilund Date: Wed, 2 Sep 2015 17:31:12 +0200 Subject: [PATCH] Config: change commilog max size on disk to be in sync with scylla.yaml --- db/config.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/config.hh b/db/config.hh index 39a1e1d5a3..a51fee9926 100644 --- a/db/config.hh +++ b/db/config.hh @@ -269,7 +269,7 @@ public: val(commitlog_sync_batch_window_in_ms, uint32_t, 10000, Used, \ "Controls how long the system waits for other writes before performing a sync in \"batch\" mode." \ ) \ - val(commitlog_total_space_in_mb, uint32_t, 1024, Used, \ + val(commitlog_total_space_in_mb, uint32_t, 8192, Used, \ "Total space used for commitlogs. If the used space goes above this value, Cassandra rounds up to the next nearest segment multiple and flushes memtables to disk for the oldest commitlog segments, removing those log segments. This reduces the amount of data to replay on startup, and prevents infrequently-updated tables from indefinitely keeping commitlog segments. A small total commitlog space tends to cause more flush activity on less-active tables.\n" \ "Related information: Configuring memtable throughput" \ ) \