Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bucketMetas (0.09 sec)

  1. cmd/bucket-metadata-sys.go

    	// Hold lock here to update in-memory map at once,
    	// instead of serializing the Go routines.
    	sys.Lock()
    	for i, meta := range bucketMetas {
    		if errs[i] != nil {
    			continue
    		}
    		sys.metadataMap[buckets[i].Name] = meta
    	}
    	sys.Unlock()
    
    	for i, meta := range bucketMetas {
    		if errs[i] != nil {
    			if failedBuckets == nil {
    				failedBuckets = make(map[string]struct{})
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	bucketMeta := madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypeQuotaConfig,
    		Bucket:    bucket,
    		Quota:     data,
    		UpdatedAt: updatedAt,
    	}
    	if quotaConfig.Size == 0 && quotaConfig.Quota == 0 {
    		bucketMeta.Quota = nil
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, bucketMeta))
    
    	// Write success response.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top