Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for poolsStatus (0.23 sec)

  1. cmd/erasure-server-pool-decom_test.go

    		pools[1],
    		pools[0],
    	}
    
    	var nmeta1 poolMeta
    	nmeta1.Version = poolMetaVersion
    	nmeta1.Pools = append(nmeta1.Pools, meta.Pools...)
    	for i, pool := range nmeta1.Pools {
    		if i == 0 {
    			nmeta1.Pools[i] = PoolStatus{
    				CmdLine:    pool.CmdLine,
    				ID:         i,
    				LastUpdate: UTCNow(),
    				Decommission: &PoolDecommissionInfo{
    					Complete: true,
    				},
    			}
    		}
    	}
    
    	var nmeta2 poolMeta
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 01 14:38:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. cmd/rebalance-admin.go

    	}
    
    	stopTime := meta.StoppedAt
    	r = rebalanceAdminStatus{
    		ID:        meta.ID,
    		StoppedAt: meta.StoppedAt,
    		Pools:     make([]rebalancePoolStatus, len(meta.PoolStats)),
    	}
    	for i, ps := range meta.PoolStats {
    		r.Pools[i] = rebalancePoolStatus{
    			ID:     i,
    			Status: ps.Info.Status.String(),
    			Used:   float64(diskStats[i].TotalSpace-diskStats[i].AvailableSpace) / float64(diskStats[i].TotalSpace),
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top