Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for brs (0.03 sec)

  1. cmd/bucket-stats.go

    func (brs *BucketReplicationStats) Empty() bool {
    	return len(brs.Stats) == 0 && brs.ReplicaSize == 0
    }
    
    // Clone creates a new BucketReplicationStats copy
    func (brs BucketReplicationStats) Clone() (c BucketReplicationStats) {
    	// This is called only by replicationStats cache and already holds a
    	// read lock before calling Clone()
    
    	c = brs
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	}
    	// OK, parse data.
    	if _, err = brs.UnmarshalMsg(data[4:]); err != nil {
    		return brs, err
    	}
    
    	switch brs.Version {
    	case resyncMetaVersionV1:
    	default:
    		return brs, fmt.Errorf("unexpected resync meta version: %d", brs.Version)
    	}
    	return brs, nil
    }
    
    // save resync status to resync.bin
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top