couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [1/2] fabric commit: updated refs/heads/master to f0d6c03
Date Tue, 03 May 2016 13:18:49 GMT
Repository: couchdb-fabric
Updated Branches:
  refs/heads/master ecaacfecf -> f0d6c03e4


start_update_notifiers returns list of #worker{}

start_update_notifiers returns list of #workers{}. However we expect
`{Node, Reference}`.


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

Branch: refs/heads/master
Commit: b592c390b99a198d6a051c6ed7b0280800cc2939
Parents: ecaacfe
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Mon May 2 18:01:28 2016 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Mon May 2 18:01:28 2016 -0700

----------------------------------------------------------------------
 src/fabric_db_update_listener.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/b592c390/src/fabric_db_update_listener.erl
----------------------------------------------------------------------
diff --git a/src/fabric_db_update_listener.erl b/src/fabric_db_update_listener.erl
index 82a70ad..ac4d8a2 100644
--- a/src/fabric_db_update_listener.erl
+++ b/src/fabric_db_update_listener.erl
@@ -37,7 +37,7 @@
 
 go(Parent, ParentRef, DbName, Timeout) ->
     Notifiers = start_update_notifiers(DbName),
-    MonRefs = lists:usort([rexi_utils:server_pid(N) || {N, _Ref} <- Notifiers]),
+    MonRefs = lists:usort([rexi_utils:server_pid(N) || #worker{node = N} <- Notifiers]),
     RexiMon = rexi_monitor:start(MonRefs),
     MonPid = start_cleanup_monitor(self(), Notifiers),
     %% This is not a common pattern for rexi but to enable the calling


Mime
View raw message