Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for minioMetaBucket (0.18 sec)

  1. cmd/background-newdisks-heal-ops.go

    	buckets = append(buckets, BucketInfo{
    		Name: pathJoin(minioMetaBucket, minioConfigPrefix),
    	}, BucketInfo{
    		Name: pathJoin(minioMetaBucket, bucketMetaPrefix),
    	})
    
    	// Heal latest buckets first.
    	sort.Slice(buckets, func(i, j int) bool {
    		a, b := strings.HasPrefix(buckets[i].Name, minioMetaBucket), strings.HasPrefix(buckets[j].Name, minioMetaBucket)
    		if a != b {
    			return a
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    		return pdata, nil
    	}
    	if GlobalKMS != nil {
    		pdata, err = config.DecryptBytes(GlobalKMS, data, kms.Context{
    			minioMetaBucket: path.Join(minioMetaBucket, objPath),
    		})
    		if err == nil {
    			return pdata, nil
    		}
    		pdata, err = config.DecryptBytes(GlobalKMS, data, kms.Context{
    			minioMetaBucket: objPath,
    		})
    		if err == nil {
    			return pdata, nil
    		}
    	}
    	return nil, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/format-erasure_test.go

    	b, err := json.Marshal(m)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.MkdirAll(pathJoin(rootPath, minioMetaBucket), os.FileMode(0o755)); err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.WriteFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile), b, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    
    	formatData, _, err := formatErasureMigrate(rootPath)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    	// to `.minio.sys/tmp/` for deletion.
    	return readDirFn(pathJoin(epPath, minioMetaBucket, bucketMetaPrefix), func(name string, typ os.FileMode) error {
    		if typ == os.ModeDir {
    			tmpMetacacheOld := pathutil.Join(epPath, minioMetaTmpDeletedBucket, mustGetUUID())
    			if err := renameAll(pathJoin(epPath, minioMetaBucket, metacachePrefixForID(name, slashSeparator)),
    				tmpMetacacheOld, epPath); err != nil && err != errFileNotFound {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    	// Buckets data are dispersed in multiple zones/sets, make
    	// sure to decommission the necessary metadata.
    	decomMetaBuckets := []decomBucketInfo{
    		{
    			Name:   minioMetaBucket,
    			Prefix: minioConfigPrefix,
    		},
    		{
    			Name:   minioMetaBucket,
    			Prefix: bucketMetaPrefix,
    		},
    	}
    
    	return append(decomMetaBuckets, decomBuckets...), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. cmd/format-erasure.go

    	defer disk.Delete(context.TODO(), minioMetaBucket, tmpFormat, DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    
    	// write to unique file.
    	if err = disk.WriteAll(context.TODO(), minioMetaBucket, tmpFormat, formatData); err != nil {
    		return err
    	}
    
    	// Rename file `uuid.json` --> `format.json`.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    			}
    		}
    		// Load first part metadata...
    		// Read metadata associated with the object from all disks.
    		fi, metaArr, onlineDisks, err := er.getObjectFileInfo(ctx, minioMetaBucket, o.objectPath(0), ObjectOptions{}, true)
    		if err != nil {
    			switch toObjectErr(err, minioMetaBucket, o.objectPath(0)).(type) {
    			case ObjectNotFound, InsufficientReadQuorum:
    				retryWait()
    				continue
    			}
    			// Allow one fast retry for other errors.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    	"golang.org/x/exp/slices"
    )
    
    const (
    	// MinIO meta bucket.
    	minioMetaBucket = ".minio.sys"
    	// Multipart meta prefix.
    	mpartMetaPrefix = "multipart"
    	// MinIO Multipart meta prefix.
    	minioMetaMultipartBucket = minioMetaBucket + SlashSeparator + mpartMetaPrefix
    	// MinIO tmp meta prefix.
    	minioMetaTmpBucket = minioMetaBucket + "/tmp"
    	// MinIO tmp meta prefix for deleted objects.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store.go

    	data, err := json.Marshal(item)
    	if err != nil {
    		return err
    	}
    	if GlobalKMS != nil {
    		data, err = config.EncryptBytes(GlobalKMS, data, kms.Context{
    			minioMetaBucket: path.Join(minioMetaBucket, itemPath),
    		})
    		if err != nil {
    			return err
    		}
    	}
    	return saveKeyEtcd(ctx, ies.client, itemPath, data, opts...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. cmd/tier.go

    	// Encrypt json encoded tier configurations
    	metadata := make(map[string]string)
    	encBr, oek, err := newEncryptReader(context.Background(), hr, crypto.S3, "", nil, minioMetaBucket, tierConfigPath, metadata, kms.Context{})
    	if err != nil {
    		return nil, nil, err
    	}
    
    	info := ObjectInfo{
    		Size: payloadSize,
    	}
    	encSize := info.EncryptedSize()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top