-
Notifications
You must be signed in to change notification settings - Fork 74
Prevent fallback vnodes' solrqs from stopping if they are still needed #703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Before, we used the "current and next" vnode list according to the ring to determine which partitions were needed for solrq start/stop. This change simply asks `riak_core_vnode_manager` which `riak_kv_vnode` vnodes are currently running, and uses that list to figure out which queues we need to have running. This should prevent issues where fallback vnodes currently running on a node would create many short-lived solrqs, which would start on demand when an index call was made that needed them, and stop every tick.
Thanks @JeetKunDoug! Settings---
minimum_reviewers: 2
build_steps:
- make clean
- make test
- make xref
- make dialyzer
merge: false
org_mode: true
timeout: 1790 |
There seems to be an issue with build step **make_test,make_xref,make_dialyzer** ! ☁️
|
+1 |
Before, we used the "current and next" vnode list according to the ring
to determine which partitions were needed for solrq start/stop. This
change simply asks
riak_core_vnode_manager
whichriak_kv_vnode
vnodes are currently running, and uses that list to figure out which
queues we need to have running.
This should prevent issues where fallback vnodes currently running on a
node would create many short-lived solrqs, which would start on demand
when an index call was made that needed them, and stop every tick.