Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bucketMetas (0.08 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]] = meta
    	}
    	sys.Unlock()
    
    	for i, meta := range bucketMetas {
    		if errs[i] != nil {
    			continue
    		}
    		globalEventNotifier.set(buckets[i], meta)   // set notification targets
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top