Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for META (0.17 sec)

  1. cmd/erasure-object_test.go

    		case VersionNotFound:
    		default:
    			t.Fatalf("Object %s is not removed", test.bucket+SlashSeparator+test.object)
    		}
    	}
    
    	if _, err = os.ReadFile(pathJoin(fsDirs[0], bucketName, "dir/obj1", "xl.meta")); err == nil {
    		t.Fatalf("xl.meta still present after removal")
    	}
    }
    
    func TestErasureDeleteObjectsErasureSet(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	// If it doesn't exist we get a new, so ignore errors
    	meta := newBucketMetadata(bucket)
    	meta.SetCreatedAt(opts.CreatedAt)
    	if opts.LockEnabled {
    		meta.VersioningConfigXML = enabledBucketVersioningConfig
    		meta.ObjectLockConfigXML = enabledBucketObjectLockConfig
    	}
    
    	if opts.VersioningEnabled {
    		meta.VersioningConfigXML = enabledBucketVersioningConfig
    	}
    
    	if err := meta.Save(context.Background(), z); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. Makefile

    	@(env bash $(PWD)/buildscripts/verify-healing-with-root-disks.sh)
    
    verify-healing-with-rewrite: ## verify healing to rewrite old xl.meta -> new xl.meta
    	@echo "Verify healing with rewrite"
    	@GORACE=history_size=7 CGO_ENABLED=1 go build -race -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
    	@(env bash $(PWD)/buildscripts/rewrite-old-new.sh)
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  4. internal/crypto/metadata_test.go

    		},
    		Expected: map[string]string{},
    	},
    	{ // 1
    		Metadata: map[string]string{
    			MetaMultipart:        "",
    			MetaIV:               "",
    			"X-Amz-Meta-A":       "X",
    			"X-Minio-Internal-B": "Y",
    		},
    		Expected: map[string]string{
    			"X-Amz-Meta-A":       "X",
    			"X-Minio-Internal-B": "Y",
    		},
    	},
    }
    
    func TestRemoveInternalEntries(t *testing.T) {
    	isEqual := func(x, y map[string]string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom_test.go

    		name           string
    	}{
    		{
    			meta:           meta,
    			pools:          pools,
    			name:           "Correct",
    			expectedErr:    false,
    			expectedUpdate: false,
    		},
    		{
    			meta:           meta,
    			pools:          newPools,
    			name:           "Correct-Update",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    			pools:          reducedPools,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    func checkMetaHeaders(signedHeadersMap http.Header, r *http.Request) APIErrorCode {
    	// check values from http header
    	for k, val := range r.Header {
    		if stringsHasPrefixFold(k, "X-Amz-Meta-") {
    			if signedHeadersMap.Get(k) == val[0] {
    				continue
    			}
    			return ErrUnsignedHeaders
    		}
    	}
    
    	return ErrNone
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. cmd/handler-utils_test.go

    		{
    			header: http.Header{
    				"X-Amz-Meta-Appid":   []string{"amz-meta"},
    				"X-Minio-Meta-Appid": []string{"minio-meta"},
    			},
    			metadata: map[string]string{
    				"X-Amz-Meta-Appid":   "amz-meta",
    				"X-Minio-Meta-Appid": "minio-meta",
    			},
    			shouldFail: false,
    		},
    		// Fail if header key is not in canonicalized form
    		{
    			header: http.Header{
    				"x-amz-meta-appid": []string{"amz-meta"},
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    				fmt.Fprintf(h, "%v", meta.GetDataDir())
    			}
    			for _, part := range meta.Parts {
    				fmt.Fprintf(h, "part.%d", part.Number)
    			}
    
    			if !meta.Deleted && meta.Size != 0 {
    				fmt.Fprintf(h, "%v+%v", meta.Erasure.DataBlocks, meta.Erasure.ParityBlocks)
    				fmt.Fprintf(h, "%v", meta.Erasure.Distribution)
    			}
    
    			if meta.IsRemote() {
    				// ILM transition fields
    				fmt.Fprint(h, meta.TransitionStatus)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. cmd/site-replication.go

    				bms.ObjectLockConfig = &objLockStr
    				bms.ObjectLockConfigUpdatedAt = meta.ObjectLockConfigUpdatedAt
    			}
    
    			if len(meta.QuotaConfigJSON) > 0 {
    				quotaConfigStr := base64.StdEncoding.EncodeToString(meta.QuotaConfigJSON)
    				bms.QuotaConfig = &quotaConfigStr
    				bms.QuotaConfigUpdatedAt = meta.QuotaConfigUpdatedAt
    			}
    
    			if len(meta.EncryptionConfigXML) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/erasure-healing-common_test.go

    		t.Fatalf("Failed to read xl meta data %v", reducedErr)
    	}
    
    	// Test 1: Test that all disks are returned without any failures with
    	// unmodified meta data
    	partsMetadata, errs := readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    	if err != nil {
    		t.Fatalf("Failed to read xl meta data %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
Back to top