Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dynamic changing of snk workers leads to unpredictable behaviour #1867

Open
martinsumner opened this issue Jul 21, 2023 · 0 comments
Open

Dynamic changing of snk workers leads to unpredictable behaviour #1867

martinsumner opened this issue Jul 21, 2023 · 0 comments

Comments

@martinsumner
Copy link
Contributor

martinsumner commented Jul 21, 2023

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant