Skip to content

Dynamic changing of snk workers leads to unpredictable behaviour #1867

Open
@martinsumner

Description

@martinsumner

The riak_kv_replrtq_snk worker_count is intended to help control the pace at which replication references are fetched by a sink cluster. However, reducing the sink worker count can lead to a situation where fetching is no longer limited by the worker count, but instead by the per_peer_limit * count(peers).

This is a problem caused by the deferred_queue_length not being reset not being reset when the worker_count is updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions