From fbe6c4a854cdf53ec2df092202375bbc2ee81155 Mon Sep 17 00:00:00 2001 From: Jonathan Ellis Date: Tue, 28 Jul 2009 02:46:27 +0000 Subject: [PATCH] add config options for commitlog syncing patch by jbellis; reviewed by Jun Rao for CASSANDRA-182 git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798372 13f79535-47bb-0310-9956-ffa450edef68 --- conf/log4j.properties | 2 +- conf/storage-conf.xml | 29 ++++++++++ .../cassandra/config/DatabaseDescriptor.java | 55 +++++++++++++++++-- .../db/CommitLogExecutorService.java | 41 ++++++++++++-- .../cassandra/service/StorageService.java | 18 +++--- test/conf/storage-conf.xml | 2 + 6 files changed, 126 insertions(+), 21 deletions(-) diff --git a/conf/log4j.properties b/conf/log4j.properties index 914414d895..307dc69273 100644 --- a/conf/log4j.properties +++ b/conf/log4j.properties @@ -18,7 +18,7 @@ # and the pattern to %c instead of %l. (%l is slower.) # output messages into a rolling log file as well as stdout -log4j.rootLogger=DEBUG,stdout,R +log4j.rootLogger=INFO,stdout,R # stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender diff --git a/conf/storage-conf.xml b/conf/storage-conf.xml index e8afa96b20..34e3accf7b 100644 --- a/conf/storage-conf.xml +++ b/conf/storage-conf.xml @@ -189,6 +189,35 @@ --> 0.01 + + 8 + 32 + + + true + + 1000 + + Test Cluster + true + 100 org.apache.cassandra.dht.OrderPreservingPartitioner false 1