You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2017/07/06 08:07:35 UTC

[couchdb] branch master updated (858088e -> 8b127f4)

This is an automated email from the ASF dual-hosted git repository.

jan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from 858088e  Make map functions distinct with each invocation
     new cc42357  feat: enable compaction daemon by default
     new 8b127f4  test: expect compaction daemon to be off

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 dev/run                                            | 3 ++-
 rel/overlay/etc/default.ini                        | 2 +-
 src/couch/test/couchdb_compaction_daemon_tests.erl | 5 +++--
 3 files changed, 6 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].

[couchdb] 01/02: feat: enable compaction daemon by default

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit cc42357fcb4c59452cc5a55a3ac8a6bc273aca90
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Thu Jun 29 21:42:25 2017 +0200

    feat: enable compaction daemon by default
---
 rel/overlay/etc/default.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 163b90e..30a03bc 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -468,7 +468,7 @@ min_file_size = 131072
 ;    Similar to the preceding example, but a database and its views can be
 ;    compacted in parallel.
 ;
-;_default = [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "23:00"}, {to, "04:00"}]
+_default = [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}]
 
 [log]
 ; Set the log writer to use

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.

[couchdb] 02/02: test: expect compaction daemon to be off

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 8b127f459698958b159feac6d6fc71e98d876198
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Fri Jun 30 11:08:57 2017 +0200

    test: expect compaction daemon to be off
---
 dev/run                                            | 3 ++-
 src/couch/test/couchdb_compaction_daemon_tests.erl | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev/run b/dev/run
index 8af3ac4..36267ce 100755
--- a/dev/run
+++ b/dev/run
@@ -188,7 +188,8 @@ def setup_configs(ctx):
             "cluster_port": cluster_port,
             "backend_port": backend_port,
             "fauxton_root": fauxton_root,
-            "uuid": "fake_uuid_for_dev"
+            "uuid": "fake_uuid_for_dev",
+            "_default": ""
         }
         write_config(ctx, node, env)
 
diff --git a/src/couch/test/couchdb_compaction_daemon_tests.erl b/src/couch/test/couchdb_compaction_daemon_tests.erl
index fdb6654..908f1d3 100644
--- a/src/couch/test/couchdb_compaction_daemon_tests.erl
+++ b/src/couch/test/couchdb_compaction_daemon_tests.erl
@@ -23,8 +23,9 @@
 
 start() ->
     Ctx = test_util:start_couch(),
-    config:set("compaction_daemon", "check_interval", "3", false),
-    config:set("compaction_daemon", "min_file_size", "100000", false),
+    ok = config:set("compaction_daemon", "check_interval", "3", false),
+    ok = config:set("compaction_daemon", "min_file_size", "100000", false),
+    ok = config:delete("compactions", "_default", false),
     ok = meck:new(?MODS_TO_MOCK, [passthrough]),
     Ctx.
 

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.