• Daniel Hiltgen's avatar
    Fix "Stopping..." scheduler hang (#10487) · 415c8fcc
    Daniel Hiltgen authored
    * Adjust initial scheduler refCount
    
    Ensure we only set the refCount on success
    
    * sched: fix lock order inversion deadlock
    
    Under certain race conditions, there was a scenario where the scheduler would
    get into a deadlock while trying to update free space information while a model
    was trying to unload.
    415c8fcc
sched.go 29.2 KB