couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [3/4] couch commit: updated refs/heads/master to aa36a18
Date Wed, 04 Feb 2015 15:49:40 GMT
Don't restart event handler when terminating

COUCHDB-2561


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/817e4d74
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/817e4d74
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/817e4d74

Branch: refs/heads/master
Commit: 817e4d749e5e4553a56d01c09aa5608a7869fb82
Parents: f21e78e
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Fri Jan 30 11:12:51 2015 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Wed Feb 4 05:57:20 2015 -0800

----------------------------------------------------------------------
 src/couch_auth_cache.erl        | 1 +
 src/couch_compaction_daemon.erl | 1 +
 src/couch_external_manager.erl  | 1 +
 src/couch_external_server.erl   | 1 +
 src/couch_httpd_vhost.erl       | 1 +
 src/couch_os_daemons.erl        | 1 +
 src/couch_proc_manager.erl      | 1 +
 src/couch_server.erl            | 1 +
 src/couch_sup.erl               | 1 +
 src/couch_uuids.erl             | 1 +
 10 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_auth_cache.erl
----------------------------------------------------------------------
diff --git a/src/couch_auth_cache.erl b/src/couch_auth_cache.erl
index e95d209..0b15489 100644
--- a/src/couch_auth_cache.erl
+++ b/src/couch_auth_cache.erl
@@ -254,6 +254,7 @@ handle_config_change("couch_httpd_auth", "authentication_db", _DbName,
_, _) ->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_compaction_daemon.erl
----------------------------------------------------------------------
diff --git a/src/couch_compaction_daemon.erl b/src/couch_compaction_daemon.erl
index 543db9f..2294fbc 100644
--- a/src/couch_compaction_daemon.erl
+++ b/src/couch_compaction_daemon.erl
@@ -103,6 +103,7 @@ handle_config_change("compactions", DbName, Value, _, _) ->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_external_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_external_manager.erl b/src/couch_external_manager.erl
index 32bf3bd..1aeb39a 100644
--- a/src/couch_external_manager.erl
+++ b/src/couch_external_manager.erl
@@ -41,6 +41,7 @@ handle_config_change("external", UrlName, _, _, _) ->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_external_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_external_server.erl b/src/couch_external_server.erl
index 339e36f..ff2e185 100644
--- a/src/couch_external_server.erl
+++ b/src/couch_external_server.erl
@@ -78,6 +78,7 @@ handle_config_change("couchdb", "os_process_timeout", NewTimeout, _, Pid)
->
 handle_config_change(_, _, _, _, Pid) ->
     {ok, Pid}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_httpd_vhost.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_vhost.erl b/src/couch_httpd_vhost.erl
index 67cfd03..05fc874 100644
--- a/src/couch_httpd_vhost.erl
+++ b/src/couch_httpd_vhost.erl
@@ -374,6 +374,7 @@ handle_config_change("vhosts", _, _, _, _) ->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_os_daemons.erl
----------------------------------------------------------------------
diff --git a/src/couch_os_daemons.erl b/src/couch_os_daemons.erl
index cbacdbd..409ba02 100644
--- a/src/couch_os_daemons.erl
+++ b/src/couch_os_daemons.erl
@@ -195,6 +195,7 @@ handle_config_change(Section, Key, _, _, _) ->
     gen_server:cast(?MODULE, {config_change, Section, Key}),
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index 675b649..f0fc6fa 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -270,6 +270,7 @@ handle_info(_Msg, State) ->
 code_change(_OldVsn, #state{}=State, _Extra) ->
     {ok, State}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_server.erl b/src/couch_server.erl
index 5a4db2e..3057f18 100644
--- a/src/couch_server.erl
+++ b/src/couch_server.erl
@@ -249,6 +249,7 @@ handle_config_change("httpd_db_handlers", _, _, _, _) ->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_sup.erl
----------------------------------------------------------------------
diff --git a/src/couch_sup.erl b/src/couch_sup.erl
index 2926a0f..2498a80 100644
--- a/src/couch_sup.erl
+++ b/src/couch_sup.erl
@@ -76,6 +76,7 @@ handle_config_change("couchdb", "util_driver_dir", _, _, _) ->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(_, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/817e4d74/src/couch_uuids.erl
----------------------------------------------------------------------
diff --git a/src/couch_uuids.erl b/src/couch_uuids.erl
index 36fa095..fd625be 100644
--- a/src/couch_uuids.erl
+++ b/src/couch_uuids.erl
@@ -88,6 +88,7 @@ handle_config_change("uuids", _, _, _, _) ->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_, stop, _) -> ok;
 handle_config_terminate(Pid, _, _) ->
     spawn(fun() ->
         timer:sleep(5000),


Mime
View raw message