Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for class (0.14 sec)

  1. internal/config/storageclass/storage-class.go

    	// Standard storage class environment variable
    	StandardEnv = "MINIO_STORAGE_CLASS_STANDARD"
    	// Optimize storage class environment variable
    	OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE"
    	// Inline block indicates the size of the shard
    	// that is considered for inlining, remember this
    	// shard value is the value per drive shard it
    	// will vary based on the parity that is configured
    	// for the STANDARD storage_class.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class_test.go

    		{"REDUCED_REDUNDANCY", true},
    		{"", false},
    		{"INVALID", false},
    		{"123", false},
    		{"MINIO_STORAGE_CLASS_RRS", false},
    		{"MINIO_STORAGE_CLASS_STANDARD", false},
    	}
    	for i, tt := range tests {
    		if got := IsValid(tt.sc); got != tt.want {
    			t.Errorf("Test %d, Expected Storage Class to be %t, got %t", i+1, tt.want, got)
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. internal/config/errors.go

    	ErrStorageClassValue = newErrFn(
    		"Invalid storage class value",
    		"Please check the value",
    		`MINIO_STORAGE_CLASS_STANDARD: Format "EC:<Default_Parity_Standard_Class>" (e.g. "EC:3"). This sets the number of parity drives for MinIO server in Standard mode. Objects are stored in Standard mode, if storage class is not defined in Put request
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. schema/index.go

    			if err != nil {
    				schema.err = err
    				break
    			}
    			for _, index := range fieldIndexes {
    				idx := indexes[index.Name]
    				idx.Name = index.Name
    				if idx.Class == "" {
    					idx.Class = index.Class
    				}
    				if idx.Type == "" {
    					idx.Type = index.Type
    				}
    				if idx.Where == "" {
    					idx.Where = index.Where
    				}
    				if idx.Comment == "" {
    					idx.Comment = index.Comment
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. schema/index_test.go

    				Length:  10,
    			}},
    		},
    		"idx_user_indices_name4": {
    			Name:   "idx_user_indices_name4",
    			Class:  "UNIQUE",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name4", UniqueIndex: "idx_user_indices_name4"}}},
    		},
    		"idx_user_indices_name5": {
    			Name:    "idx_user_indices_name5",
    			Class:   "FULLTEXT",
    			Comment: "hello , world",
    			Where:   "age > 10",
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. internal/config/storageclass/help.go

    		config.HelpKV{
    			Key:         ClassStandard,
    			Description: `set the parity count for default standard storage class` + defaultHelpPostfix(ClassStandard),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ClassRRS,
    			Description: `set the parity count for reduced redundancy storage class` + defaultHelpPostfix(ClassRRS),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 22:06:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    			keys:     []string{"etag", "md5"},
    			want:     map[string]string{"content-type": "application/octet-stream", "x-amz-storage-class": "STANDARD"},
    		},
    		{
    			name:     "2",
    			metadata: map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86", "x-amz-storage-class": "REDUCED_REDUNDANCY", "md5sum": "abcde"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. internal/http/headers.go

    	// Request tags used in GetObjectAttributes
    	Checksum     = "Checksum"
    	StorageClass = "StorageClass"
    	ObjectSize   = "ObjectSize"
    	ObjectParts  = "ObjectParts"
    
    	// S3 storage class
    	AmzStorageClass = "x-amz-storage-class"
    
    	// S3 object version ID
    	AmzVersionID    = "x-amz-version-id"
    	AmzDeleteMarker = "x-amz-delete-marker"
    
    	// S3 object tagging
    	AmzObjectTagging = "X-Amz-Tagging"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  9. internal/bucket/lifecycle/noncurrentversion.go

    	if err != nil {
    		return err
    	}
    	*n = NoncurrentVersionTransition(val)
    	n.set = true
    	return nil
    }
    
    // IsNull returns true if NoncurrentTransition doesn't refer to any storage-class.
    // Note: It supports immediate transition, i.e zero noncurrent days.
    func (n NoncurrentVersionTransition) IsNull() bool {
    	return n.StorageClass == ""
    }
    
    // Validate returns an error with wrong value
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
  10. cmd/erasure-multipart.go

    	}
    
    	userDefined := cloneMSS(opts.UserDefined)
    	if opts.PreserveETag != "" {
    		userDefined["etag"] = opts.PreserveETag
    	}
    	onlineDisks := er.getDisks()
    
    	// Get parity and data drive count based on storage class metadata
    	parityDrives := globalStorageClass.GetParityForSC(userDefined[xhttp.AmzStorageClass])
    	if parityDrives < 0 {
    		parityDrives = er.defaultParityCount
    	}
    
    	if globalStorageClass.AvailabilityOptimized() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top