couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [2/4] couch-index commit: updated refs/heads/master to 0c5f25b
Date Wed, 04 Feb 2015 15:49:46 GMT
Don't restart event handler on termination

COUCHDB-2561


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

Branch: refs/heads/master
Commit: b14a73dd89bf49cbb68ccf7837c2a54a3ef69083
Parents: 3aa6a19
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Fri Jan 30 11:17:15 2015 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Wed Feb 4 06:07:37 2015 -0800

----------------------------------------------------------------------
 src/couch_index.erl        | 1 +
 src/couch_index_server.erl | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/blob/b14a73dd/src/couch_index.erl
----------------------------------------------------------------------
diff --git a/src/couch_index.erl b/src/couch_index.erl
index 509053b..b22bf12 100644
--- a/src/couch_index.erl
+++ b/src/couch_index.erl
@@ -360,6 +360,7 @@ handle_config_change("query_server_config", "commit_freq", Val, _, _)
->
 handle_config_change(_, _, _, _, _) ->
     {ok, nil}.
 
+handle_config_terminate(_Server, stop, _State) -> ok;
 handle_config_terminate(_Server, _Reason, _State) ->
     spawn(fun() ->
         timer:sleep(5000),

http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/blob/b14a73dd/src/couch_index_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_index_server.erl b/src/couch_index_server.erl
index 5e5c307..a7c8990 100644
--- a/src/couch_index_server.erl
+++ b/src/couch_index_server.erl
@@ -198,6 +198,7 @@ handle_config_change("couchdb", "view_index_dir", _, _, _) ->
 handle_config_change(_, _, _, _, RootDir) ->
     {ok, RootDir}.
 
+handle_config_terminate(_Server, stop, _State) -> ok;
 handle_config_terminate(_Server, _Reason, _State) ->
     State = couch_index_util:root_dir(),
     spawn(fun() ->


Mime
View raw message