From e6eb494ce1fc91a47c819d960b557eafe6bdde67 Mon Sep 17 00:00:00 2001 From: John Shahid Date: Tue, 18 Feb 2014 15:17:01 -0500 Subject: [PATCH] update the config files --- config.toml.sample | 2 +- src/integration/test_config1.toml | 16 +++++++++++++++- src/integration/test_config2.toml | 16 +++++++++++++++- src/integration/test_config3.toml | 16 +++++++++++++++- 4 files changed, 46 insertions(+), 4 deletions(-) diff --git a/config.toml.sample b/config.toml.sample index b63ec5a7cd..271c9d814a 100644 --- a/config.toml.sample +++ b/config.toml.sample @@ -112,4 +112,4 @@ index-after = 1000 # the number of requests per one log file, if new requests came in a # new log file will be created -requests-per-logfile = 10000 \ No newline at end of file +requests-per-logfile = 10000 diff --git a/src/integration/test_config1.toml b/src/integration/test_config1.toml index 29ec64443e..6c013cd150 100644 --- a/src/integration/test_config1.toml +++ b/src/integration/test_config1.toml @@ -90,4 +90,18 @@ protobuf_port = 60502 [sharding.long-term] duration = "24h" split = 1 - # split-random = "/^Hf.*/" \ No newline at end of file + # split-random = "/^Hf.*/" + +[wal] + +dir = "/tmp/influxdb/test/1/wal" +flush-after = 1000 # the number of writes after which wal will be flushed, 0 for flushing on every write +bookmark-after = 1000 # the number of writes after which a bookmark will be created + +# the number of writes after which an index entry is created pointing +# to the offset of the first request, default to 1k +index-after = 1000 + +# the number of requests per one log file, if new requests came in a +# new log file will be created +requests-per-logfile = 10000 diff --git a/src/integration/test_config2.toml b/src/integration/test_config2.toml index 010e5d81d8..dab6d751bb 100644 --- a/src/integration/test_config2.toml +++ b/src/integration/test_config2.toml @@ -88,4 +88,18 @@ protobuf_port = 60508 [sharding.long-term] duration = "24h" split = 1 - # split-random = "/^Hf.*/" \ No newline at end of file + # split-random = "/^Hf.*/" + +[wal] + +dir = "/tmp/influxdb/test/2/wal" +flush-after = 1000 # the number of writes after which wal will be flushed, 0 for flushing on every write +bookmark-after = 1000 # the number of writes after which a bookmark will be created + +# the number of writes after which an index entry is created pointing +# to the offset of the first request, default to 1k +index-after = 1000 + +# the number of requests per one log file, if new requests came in a +# new log file will be created +requests-per-logfile = 10000 diff --git a/src/integration/test_config3.toml b/src/integration/test_config3.toml index f648f390b0..343bb80c52 100644 --- a/src/integration/test_config3.toml +++ b/src/integration/test_config3.toml @@ -88,4 +88,18 @@ protobuf_port = 60512 [sharding.long-term] duration = "24h" split = 1 - # split-random = "/^Hf.*/" \ No newline at end of file + # split-random = "/^Hf.*/" + +[wal] + +dir = "/tmp/influxdb/test/3/wal" +flush-after = 1000 # the number of writes after which wal will be flushed, 0 for flushing on every write +bookmark-after = 1000 # the number of writes after which a bookmark will be created + +# the number of writes after which an index entry is created pointing +# to the offset of the first request, default to 1k +index-after = 1000 + +# the number of requests per one log file, if new requests came in a +# new log file will be created +requests-per-logfile = 10000