Skip to content

Commit 716fcac

Browse files
committed
Merge pull request #425 from basho/zl-fix-essential-test-handoff
prevent race condition on basho_bench run in yokozuna_essential by incre... Reviewed-by: coderoshi
2 parents 72c4112 + 34ee71c commit 716fcac

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

riak_test/yokozuna_essential.erl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
%% more quickly.
3030
{vnode_management_timer, 1000}
3131
]},
32+
{riak_kv,
33+
[
34+
%% Max number of times that a secondary system can block
35+
%% handoff of primary key-value data.
36+
%% Set to prevent a race-condition when propagating cluster
37+
%% meta to newly joined nodes.
38+
{handoff_rejected_max, infinity}
39+
]},
3240
{yokozuna,
3341
[
3442
{enabled, true},
@@ -229,7 +237,7 @@ verify_unique_id(Cluster, PBConns) ->
229237
make_query_fun(PBConns, Index, Query, Expected) ->
230238
fun() ->
231239
QueryRes = query_all(PBConns, Index, Query),
232-
lists:all(fun(X) ->
240+
lists:all(fun(X) ->
233241
lager:info("~p~n", [X]),
234242
X == Expected end, QueryRes)
235243
end.

0 commit comments

Comments
 (0)