1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-05-04 00:30:04 +08:00
parent d6f6fc01f2
commit 73cbbb5509

View File

@@ -530,6 +530,9 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task, nodes []Node
log.Info("Unlock ", segID)
lock.Unlock()
}
pool.pools[0].Lock.Lock()
pool.pools[0].Lock.Unlock()
log.Info("all locks released")
go func(res NodeStatus) {
if len(res.Status) == 0 {