Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ps (0.28 sec)

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

    	z.rebalMu.Lock()
    	defer z.rebalMu.Unlock()
    
    	ps := z.rebalMeta.PoolStats[poolIdx]
    	if ps == nil {
    		return
    	}
    
    	for i, b := range ps.Buckets {
    		if b == bucket {
    			ps.Buckets = append(ps.Buckets[:i], ps.Buckets[i+1:]...)
    			ps.RebalancedBuckets = append(ps.RebalancedBuckets, bucket)
    			break
    		}
    	}
    }
    
    func (r *rebalanceMeta) load(ctx context.Context, store objectIO) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-stats.go

    		qs.Nodes = append(qs.Nodes, bs.QueueStats.Nodes...)
    	}
    	qs.Uptime = UTCNow().Unix() - globalBootTime.Unix()
    
    	var ps ProxyMetric
    	for _, bs := range bucketStats {
    		ps.add(bs.ProxyStats)
    	}
    	bs = BucketStats{
    		ReplicationStats: s,
    		QueueStats:       qs,
    		ProxyStats:       ps,
    	}
    	r.mostRecentStatsMu.Lock()
    	if len(r.mostRecentStats.Stats) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    	Decommission *PoolDecommissionInfo `json:"decommissionInfo,omitempty" msg:"dec"`
    }
    
    // Clone returns a copy of PoolStatus
    func (ps PoolStatus) Clone() PoolStatus {
    	return PoolStatus{
    		ID:           ps.ID,
    		CmdLine:      ps.CmdLine,
    		LastUpdate:   ps.LastUpdate,
    		Decommission: ps.Decommission.Clone(),
    	}
    }
    
    //go:generate msgp -file $GOFILE -unexported
    type poolMeta struct {
    	Version int          `msg:"v"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  4. cmd/admin-handlers-users_test.go

    	c.mustNotCreateSvcAccount(ctx, accessKey, admClnt)
    
    	// 4. Verify the policy appears in listing
    	ps, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    		c.Fatalf("policy list err: %v", err)
    	}
    	_, ok := ps[policy1]
    	if !ok {
    		c.Fatalf("policy was missing!")
    	}
    
    	// 3.2 associate policy to user
    	err = s.adm.SetPolicy(ctx, policy2, accessKey, false)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top