couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [23/50] [abbrv] git commit: updated refs/heads/1867-feature-plugins to 8aad450
Date Mon, 09 Sep 2013 09:53:43 GMT
Expose get_compactor_pid/1


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

Branch: refs/heads/1867-feature-plugins
Commit: b5c044f3161043ff236176b4ce93ef7bec7af532
Parents: b18cdca
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Aug 20 12:32:29 2013 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Mon Sep 9 11:16:43 2013 +0200

----------------------------------------------------------------------
 src/couch_index/src/couch_index.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/b5c044f3/src/couch_index/src/couch_index.erl
----------------------------------------------------------------------
diff --git a/src/couch_index/src/couch_index.erl b/src/couch_index/src/couch_index.erl
index 5bf322e..df004b4 100644
--- a/src/couch_index/src/couch_index.erl
+++ b/src/couch_index/src/couch_index.erl
@@ -16,7 +16,7 @@
 
 %% API
 -export([start_link/1, stop/1, get_state/2, get_info/1]).
--export([compact/1, compact/2]).
+-export([compact/1, compact/2, get_compactor_pid/1]).
 -export([config_change/3]).
 
 %% gen_server callbacks
@@ -67,6 +67,9 @@ compact(Pid, Options) ->
     end.
 
 
+get_compactor_pid(Pid) ->
+    gen_server:call(Pid, get_compactor_pid).
+
 config_change("query_server_config", "commit_freq", NewValue) ->
     ok = gen_server:cast(?MODULE, {config_update, NewValue}).
 


Mime
View raw message