Add test for append and repair with partition simulator #33

Merged
shino merged 6 commits from ss-repair-with-partition-simulator into master 2015-11-04 05:44:04 +00:00
Showing only changes of commit 6fa2de28cd - Show all commits

View file

@ -955,7 +955,7 @@ update_proj2(Count, #state{bad_proj=BadProj, proxies_dict=ProxiesDict,
%% b's projection. %% b's projection.
case choose_best_proj(Rs) of case choose_best_proj(Rs) of
P when P == ?WORST_PROJ -> P when P == ?WORST_PROJ ->
io:format(user, "TODO: Using ?WORST_PROJ, chain is not available\n", []), io:format(user, "TODO: Using ?WORST_PROJ, chain is not available ~w\n", [self()]),
sleep_a_while(Count), sleep_a_while(Count),
update_proj2(Count + 1, S); update_proj2(Count + 1, S);
P when P >= BadProj -> P when P >= BadProj ->