You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/10/10 21:24:20 UTC
[couchdb] 13/25: remove leftover code from olde notification system
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 749-fix-couch_peruser-app-structure
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 6487e38ce9b389aae8ca0e8f99cd945506380778
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Mon Oct 9 07:56:12 2017 +0200
remove leftover code from olde notification system
---
src/couch_peruser/src/couch_peruser.erl | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/couch_peruser/src/couch_peruser.erl b/src/couch_peruser/src/couch_peruser.erl
index 16305c6..c2ac6ab 100644
--- a/src/couch_peruser/src/couch_peruser.erl
+++ b/src/couch_peruser/src/couch_peruser.erl
@@ -21,9 +21,6 @@
-export([start_link/0, init/1, handle_call/3, handle_cast/2, handle_info/2,
terminate/2, code_change/3]).
-% cluster state notification callback
--export([notify_cluster_event/2]).
-
-export([init_changes_handler/1, changes_handler/3]).
% mem3_cluster callbacks
@@ -92,11 +89,6 @@ init() ->
}
end.
-% Cluster membership change notification callback
--spec notify_cluster_event(Server :: pid(), Event :: {cluster, any()}) -> ok.
-notify_cluster_event(Server, {cluster, _} = Event) ->
- % couch_log:debug("peruser: received cluster event ~p on node ~p", [Event, node()]),
- gen_server:cast(Server, Event).
-spec start_listening(ClusterState :: #clusterState{}) -> #clusterState{} | ok.
start_listening(#clusterState{states=States}=ClusterState) when length(States) > 0 ->
--
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.