Riak repository
Remote: 1.4 @ origin (git://github.com/basho/riak.git)
Local: 1.4 ~/b/g/riak-1.4-handoff-siblings/
Head: afdb937 Finalize release notes for 1.4.10
Config changes
Modified rel/files/app.config
diff --git a/rel/files/app.config b/rel/files/app.config
index a646e78..70ebc18 100644
--- a/rel/files/app.config
+++ b/rel/files/app.config
@@ -17,12 +17,15 @@
%% Riak Core config
{riak_core, [
+ {default_bucket_props, [{allow_mult, true}]},
+ {handoff_concurrency, 1},
+
%% Default location of ringstate
{ring_state_dir, "{{ring_state_dir}}"},
%% Default ring creation size. Make sure it is a power of 2,
%% e.g. 16, 32, 64, 128, 256, 512 etc
- %{ring_creation_size, 64},
+ {ring_creation_size, 16},
%% http is a list of IP addresses and TCP ports that the Riak
%% HTTP interface will bind.
@@ -78,6 +81,8 @@
%% Riak KV config
{riak_kv, [
+ {warn_siblings, 1},
+
%% Storage_backend specifies the Erlang module defining the storage
%% mechanism that will be used on this node.
{storage_backend, riak_kv_bitcask_backend},
@@ -90,7 +95,7 @@
%% Enable active anti-entropy subsystem + optional debug messages:
%% {anti_entropy, {on|off, []}},
%% {anti_entropy, {on|off, [debug]}},
- {anti_entropy, {on, []}},
+ {anti_entropy, {off, []}},
%% Restrict how fast AAE can build hash trees. Building the tree
%% for a given partition requires a full scan over that partition's
Evil sleep in riak_core
Local: (detached) ~/b/g/riak-1.4-handoff-siblings/deps/riak_core/
Head: c769123 Roll version riak_core 1.4.10
Changes:
Modified src/riak_core_handoff_sender.erl
diff --git a/src/riak_core_handoff_sender.erl b/src/riak_core_handoff_sender.erl
index 347563b..0c8067f 100644
--- a/src/riak_core_handoff_sender.erl
+++ b/src/riak_core_handoff_sender.erl
@@ -307,6 +307,8 @@ visit_item(K, V, Acc = #ho_acc{ack = _AccSyncThreshold, acksync_threshold = _Acc
Acc#ho_acc{ack=0, error={error, Reason}, stats=Stats3}
end;
visit_item(K, V, Acc) ->
+ %% Emulate slooooow transfer and/or large data set to send/recv
+ timer:sleep(10000),
#ho_acc{filter=Filter,
module=Module,
total_objects=TotalObjects,