diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-05-12 16:35:50 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-05-12 16:35:50 +0100 |
commit | e6bc16a40c80ac7f0833a39e76199fe7e4176ac7 (patch) | |
tree | df2f3c316f00988e08c30e6479c409f8636175a3 | |
parent | 10c2f19d0576407b0148d3218d2d2fd66ca6c64e (diff) | |
download | rabbitmq-server-e6bc16a40c80ac7f0833a39e76199fe7e4176ac7.tar.gz |
Fix broken invocation.bug26173
-rw-r--r-- | src/gm.erl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1036,7 +1036,8 @@ join_group(Self, GroupName, #gm_group { members = Members } = Group, TxnFun) -> case lists:filter(fun is_member_alive/1, Members) of [] -> join_group(Self, GroupName, - prune_or_create_group(Self, GroupName, TxnFun)); + prune_or_create_group(Self, GroupName, TxnFun), + TxnFun); Alive -> Left = lists:nth(random:uniform(length(Alive)), Alive), Handler = |