Skip to content
Commit dfa0e118 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

CollectionScheduler: resolve cache policy before locking mutex

We don't need the lock to do that and it prevents a possible deadlock when
T1 holds the lock and tries to run an SQL query to resolve collection cache
policy, while another lock is holding the SQL lock and is waiting for the
CollectionScheduler lock to be released.
parent 82e2af04
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment