Bugfix: a30_make_inner_projection() ignore newprop down list if none proj
This commit is contained in:
parent
a095e0cfc3
commit
bce225a200
1 changed files with 6 additions and 1 deletions
|
@ -1376,7 +1376,12 @@ react_to_env_A30(Retries, P_latest, LatestUnanimousP, _ReadExtra,
|
||||||
a30_make_inner_projection(P_current, P_newprop3, P_latest, Up,
|
a30_make_inner_projection(P_current, P_newprop3, P_latest, Up,
|
||||||
#ch_mgr{name=MyName, consistency_mode=CMode} = S) ->
|
#ch_mgr{name=MyName, consistency_mode=CMode} = S) ->
|
||||||
AllHosed = get_all_hosed(P_newprop3),
|
AllHosed = get_all_hosed(P_newprop3),
|
||||||
NewPropDown = P_newprop3#projection_v1.down,
|
NewPropDown = if P_newprop3#projection_v1.upi == [] ->
|
||||||
|
%% This is a none proj, don't believe down list
|
||||||
|
[];
|
||||||
|
true ->
|
||||||
|
P_newprop3#projection_v1.down
|
||||||
|
end,
|
||||||
P_current_has_inner_p = inner_projection_exists(P_current),
|
P_current_has_inner_p = inner_projection_exists(P_current),
|
||||||
P_current_ios = inner_projection_or_self(P_current),
|
P_current_ios = inner_projection_or_self(P_current),
|
||||||
AllHosed_and_Down = lists:usort(AllHosed ++ NewPropDown),
|
AllHosed_and_Down = lists:usort(AllHosed ++ NewPropDown),
|
||||||
|
|
Loading…
Reference in a new issue