Skip to content
Snippets Groups Projects
Commit 9b768a30 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Roman Tsisyk
Browse files

vinyl: do not schedule tasks if all workers are busy

If woken up by range changes, the scheduler will keep queueing tasks no
matter if there are workers available for processing them. This is
incorrect, because the overall situation may change by the time a worker
completes processing its task. This patch puts the scheduler to sleep if
all workers are busy.
parent 36efc9fd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment