Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countItem (0.04 sec)

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

    		return err
    	}
    
    	switch p.Version {
    	case poolMetaVersionV1:
    	default:
    		return fmt.Errorf("unexpected pool meta version: %d", p.Version)
    	}
    
    	return nil
    }
    
    func (p *poolMeta) CountItem(idx int, size int64, failed bool) {
    	pd := p.Pools[idx].Decommission
    	if pd == nil {
    		return
    	}
    	if failed {
    		pd.ItemsDecommissionFailed++
    		pd.BytesFailed += size
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top