Skip to content

Handoff exceeding the transfer limit should not throw an error #564

@Vagabond

Description

@Vagabond

Right now, when riak tries to handoff more than the limit allows, you get scary messages like this:

2014-03-25 16:49:58.988 [error] <0.142.0> Supervisor riak_core_handoff_sender_sup had child 
riak_core_handoff_sender started with {riak_core_handoff_sender,start_link,undefined} at 
<0.18847.7518> exit with reason max_concurrency in context child_terminated

Instead of exiting with max_concurrency, we should exit normal (possibly logging something to info/notice about exceeding the transfer limit). The supervisor has the children flagged as temporary anyway, so this will not impact retrying handoff later.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions