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
Please register or sign in to comment