Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isMinioMetaBucketName (0.12 sec)

  1. cmd/bucket-metadata-sys.go

    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) {
    	if !isMinioMetaBucketName(bucket) {
    		sys.Lock()
    		sys.metadataMap[bucket] = meta
    		sys.Unlock()
    	}
    }
    
    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/global-heal.go

    			healingLogIf(ctx, err)
    			continue
    		}
    
    		var (
    			vc   *versioning.Versioning
    			lc   *lifecycle.Lifecycle
    			lr   objectlock.Retention
    			rcfg *replication.Config
    		)
    
    		if !isMinioMetaBucketName(bucket) {
    			vc, err = globalBucketVersioningSys.Get(bucket)
    			if err != nil {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    func getKeySeparator() string {
    	if runtime.GOOS == globalWindowsOSName {
    		return "_"
    	}
    	return ":"
    }
    
    // isMinioBucket returns true if given bucket is a MinIO internal
    // bucket and false otherwise.
    func isMinioMetaBucketName(bucket string) bool {
    	return strings.HasPrefix(bucket, minioMetaBucket)
    }
    
    // IsValidBucketName verifies that a bucket name is in accordance with
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    		{
    			bucket: minioMetaTmpBucket,
    			result: true,
    		},
    		// Normal bucket
    		{
    			bucket: "mybucket",
    			result: false,
    		},
    	}
    
    	for i, test := range testCases {
    		actual := isMinioMetaBucketName(test.bucket)
    		if actual != test.result {
    			t.Errorf("Test %d - expected %v but received %v",
    				i+1, test.result, actual)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    	}
    	if i.lifeCycle == nil {
    		return action, size
    	}
    
    	versionID := oi.VersionID
    
    	var vc *versioning.Versioning
    	var lr objectlock.Retention
    	var rcfg *replication.Config
    	if !isMinioMetaBucketName(i.bucket) {
    		vc, err = globalBucketVersioningSys.Get(i.bucket)
    		if err != nil {
    			scannerLogOnceIf(ctx, err, i.bucket)
    			return
    		}
    
    		// Check if bucket is object locked.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top