Bugfix: convergence property for CP mode, again

This commit is contained in:
Scott Lystig Fritchie 2015-08-30 19:52:31 +09:00
parent ec2e7b5669
commit 823b47bef3

View file

@ -635,10 +635,10 @@ private_projections_are_stable(Namez, PollFunc) ->
ordsets:from_list(UsingFLUs));
[{1=_Count,_EpochID}|_] ->
%% Our list is sorted & reversed, so 1=_Count
%% is biggest. If everyone is using the none proj,
%% is biggest. If a majority is using the none proj,
%% then we're OK.
Private2None = [X || {_,{_,[],[],_,_,_}}=X <- Private2],
Private2 == Private2None;
length(Private2None) >= FullMajority;
Else ->
%% This is bad: we have a count that's less than
%% FullMajority but greater than 1.