Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for StorageClass (0.13 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			prefix:      "foodir/foobject/foo.txt",
    			want:        true,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration><Rule><Status>Enabled</Status><Filter></Filter><NoncurrentVersionTransition><StorageClass>S3TIER-1</StorageClass></NoncurrentVersionTransition></Rule></LifecycleConfiguration>`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    	objectNames := []string{"minio-object-1.txt"}
    	uploadIDs := []string{}
    
    	globalStorageClass.Update(storageclass.Config{
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    	})
    
    	// bucketnames[0].
    	// objectNames[0].
    	// uploadIds [0].
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes_gen.go

    			z.UploadID, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "UploadID")
    				return
    			}
    		case "StorageClass":
    			z.StorageClass, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "StorageClass")
    				return
    			}
    		case "PartNumberMarker":
    			z.PartNumberMarker, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		for obj := range objInfoCh {
    			oi := toObjectInfo(r.Source.Bucket, obj.Key, obj)
    			if !minioSrc {
    				// Check if metadata filter was requested and it is expected to have
    				// all user metadata or just storageClass. If its only storageClass
    				// List() already returns relevant information for filter to be applied.
    				if isMetadata && !isStorageClassOnly {
    					oi2, err := c.StatObject(ctx, r.Source.Bucket, obj.Key, miniogo.StatObjectOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. cmd/erasure-healing_test.go

    	// Set globalStorageClass.STANDARD to EC:4 for this test
    	saveSC := globalStorageClass
    	defer func() {
    		globalStorageClass.Update(saveSC)
    	}()
    	globalStorageClass.Update(storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    	})
    
    	nDisks := 16
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	defer removeRoots(fsDirs)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	}
    
    	done := keepHTTPResponseAlive(w)
    
    	result, err := selfSpeedTest(r.Context(), speedTestOpts{
    		objectSize:      size,
    		concurrency:     concurrent,
    		duration:        duration,
    		storageClass:    storageClass,
    		bucketName:      bucketName,
    		enableSha256:    enableSha256,
    		enableMultipart: enableMultipart,
    		creds:           u.Credentials,
    	})
    	if err != nil {
    		result.Error = err.Error()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    func (z *erasureServerPools) BackendInfo() (b madmin.BackendInfo) {
    	b.Type = madmin.Erasure
    
    	scParity := globalStorageClass.GetParityForSC(storageclass.STANDARD)
    	if scParity < 0 {
    		scParity = z.serverPools[0].defaultParityCount
    	}
    	rrSCParity := globalStorageClass.GetParityForSC(storageclass.RRS)
    
    	// Data blocks can vary per pool, but parity is same.
    	for i, setDriveCount := range z.SetDriveCounts() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    			if sizeS.tiers == nil {
    				sizeS.tiers = make(map[string]tierStats)
    			}
    			sizeS.tiers[tier.Name] = tierStats{}
    		}
    		if sizeS.tiers != nil {
    			sizeS.tiers[storageclass.STANDARD] = tierStats{}
    			sizeS.tiers[storageclass.RRS] = tierStats{}
    		}
    
    		done := globalScannerMetrics.time(scannerMetricApplyAll)
    		objInfos, err := item.applyVersionActions(ctx, objAPI, fivs.Versions, globalExpiryState)
    		done()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    	"github.com/google/uuid"
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/config/storageclass"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/tinylib/msgp/msgp"
    )
    
    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. cmd/erasure-object.go

    	if userDefined["content-type"] == "" {
    		userDefined["content-type"] = mimedb.TypeByExtension(path.Ext(object))
    	}
    
    	// if storageClass is standard no need to save it as part of metadata.
    	if userDefined[xhttp.AmzStorageClass] == storageclass.STANDARD {
    		delete(userDefined, xhttp.AmzStorageClass)
    	}
    
    	// Fill all the necessary metadata.
    	// Update `xl.meta` content on each disks.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top