- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsDecommissionRunning (0.19 sec)
-
cmd/admin-handlers-pools.go
return } z, ok := objectAPI.(*erasureServerPools) if !ok || len(z.serverPools) == 1 { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL) return } if z.IsDecommissionRunning() { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errDecommissionAlreadyRunning), r.URL) return } if z.IsRebalanceStarted() {
Registered: 2024-06-16 00:44 - Last Modified: 2024-05-24 23:05 - 10.9K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
newMeta.Pools = append(newMeta.Pools, PoolStatus{ CmdLine: pool.endpoints.CmdLine, ID: idx, LastUpdate: UTCNow(), }) } return newMeta } func (z *erasureServerPools) IsDecommissionRunning() bool { z.poolMetaMutex.RLock() defer z.poolMetaMutex.RUnlock() meta := z.poolMeta for _, pool := range meta.Pools { if pool.Decommission != nil && !pool.Decommission.Complete &&
Registered: 2024-06-16 00:44 - Last Modified: 2024-06-06 14:30 - 41.5K bytes - Viewed (1)