couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [11/33] rexi commit: updated refs/heads/master to bbf59a2
Date Thu, 28 Aug 2014 12:23:21 GMT
Allow callbacks to update their list of workers

We need this to be able to allow coordinators to replace nodes that are
in maintenance mode.

BugzId: 22729


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

Branch: refs/heads/master
Commit: 77339578ec3ad0f9f3ca261889e432d64eb793f4
Parents: 945bfca
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Fri Oct 4 13:14:25 2013 -0500
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Jul 23 17:58:22 2014 +0100

----------------------------------------------------------------------
 src/rexi_utils.erl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-rexi/blob/77339578/src/rexi_utils.erl
----------------------------------------------------------------------
diff --git a/src/rexi_utils.erl b/src/rexi_utils.erl
index 79db48c..6e03757 100644
--- a/src/rexi_utils.erl
+++ b/src/rexi_utils.erl
@@ -49,6 +49,8 @@ process_mailbox(RefList, Keypos, Fun, Acc0, TimeoutRef, PerMsgTO) ->
     case process_message(RefList, Keypos, Fun, Acc0, TimeoutRef, PerMsgTO) of
     {ok, Acc} ->
         process_mailbox(RefList, Keypos, Fun, Acc, TimeoutRef, PerMsgTO);
+    {new_refs, NewRefList, Acc} ->
+        process_mailbox(NewRefList, Keypos, Fun, Acc, TimeoutRef, PerMsgTO);
     {stop, Acc} ->
         {ok, Acc};
     Error ->


Mime
View raw message