Skip to content

Commit

Permalink
Fix to handle leo_storage status properly
Browse files Browse the repository at this point in the history
  • Loading branch information
mocchira committed Feb 20, 2015
1 parent 28a17d3 commit 93bf437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leo_redundant_manager.erl
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ create_2( Ver, [#member{node = Node} = Member_0|Rest], Acc) ->
Table = ?member_table(Ver),
Ret_2 = case leo_cluster_tbl_member:lookup(Table, Node) of
{ok, Member_1} ->
{ok, Member_1#member{state = ?STATE_RUNNING}};
{ok, Member_1};
not_found ->
{ok, Member_0#member{state = ?STATE_RUNNING}};
{error, Cause} ->
Expand Down

0 comments on commit 93bf437

Please sign in to comment.