- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setDiskHealingStatus (0.19 sec)
-
cmd/admin-heal-ops.go
if !healing { endpoints = append(endpoints, ep) } } return endpoints } // Set, in the memory, the state of the disk as currently healing or not func (ahs *allHealState) setDiskHealingStatus(ep Endpoint, healing bool) { ahs.Lock() defer ahs.Unlock() ahs.healLocalDisks[ep] = healing } func (ahs *allHealState) pushHealLocalDisks(healLocalDisks ...Endpoint) { ahs.Lock()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 25.1K bytes - Viewed (1) -
cmd/background-newdisks-heal-ops.go
continue } for _, disk := range healDisks { go func(disk Endpoint) { globalBackgroundHealState.setDiskHealingStatus(disk, true) if err := healFreshDisk(ctx, z, disk); err != nil { globalBackgroundHealState.setDiskHealingStatus(disk, false) timedout := OperationTimedOut{} if !errors.Is(err, context.Canceled) && !errors.As(err, &timedout) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.7K bytes - Viewed (0)