Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updatePoolStats (0.11 sec)

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

    			}
    		}
    	}
    
    	err = r.save(ctx, z.serverPools[0])
    	if err != nil {
    		return arn, err
    	}
    
    	z.rebalMeta = r
    	return r.ID, nil
    }
    
    func (z *erasureServerPools) updatePoolStats(poolIdx int, bucket string, fi FileInfo) {
    	z.rebalMu.Lock()
    	defer z.rebalMu.Unlock()
    
    	r := z.rebalMeta
    	if r == nil {
    		return
    	}
    
    	r.PoolStats[poolIdx].update(bucket, fi)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top