diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mem3.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem3.erl b/src/mem3.erl index 81a383c2..3a3df1ed 100644 --- a/src/mem3.erl +++ b/src/mem3.erl @@ -305,6 +305,8 @@ handle_join(join, ExtNodes, PingNode, #mem{args=Args} = State) -> % now use this info to join the ring int_join(ExtNodes, NewState); +handle_join(replace, OldNode, PingNode, State) when is_atom(OldNode) -> + handle_join(replace, {OldNode, []}, PingNode, State); handle_join(replace, [OldNode | _], PingNode, State) -> handle_join(replace, {OldNode, []}, PingNode, State); handle_join(replace, {OldNode, NewOpts}, PingNode, _State) -> |