Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetConfigFromDisk (0.21 sec)

  1. cmd/bucket-metadata-sys.go

    	}
    	if reloaded {
    		globalBucketTargetSys.set(bucket, meta)
    	}
    	return meta.bucketTargetConfig, nil
    }
    
    // GetConfigFromDisk read bucket metadata config from disk.
    func (sys *BucketMetadataSys) GetConfigFromDisk(ctx context.Context, bucket string) (BucketMetadata, error) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return newBucketMetadata(bucket), errServerNotInitialized
    	}
    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/bucket-lifecycle-handlers.go

    	for _, rule := range bucketLifecycle.Rules {
    		updatedRules[rule.ID] = rule
    	}
    
    	// Get list of rules for the bucket from disk
    	meta, err := globalBucketMetadataSys.GetConfigFromDisk(ctx, bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	expiryRuleRemoved := false
    	if len(meta.LifecycleConfigXML) > 0 {
    		var lcCfg lifecycle.Lifecycle
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	if err != nil {
    		return err
    	}
    
    	for _, bucketInfo := range buckets {
    		bucket := bucketInfo.Name
    
    		meta, err := globalBucketMetadataSys.GetConfigFromDisk(ctx, bucket)
    		if err != nil && !errors.Is(err, errConfigNotFound) {
    			return errSRBackendIssue(err)
    		}
    
    		opts := MakeBucketOptions{
    			LockEnabled: meta.ObjectLocking(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top