Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for formats (0.16 sec)

  1. cmd/erasure-server-pool.go

    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    		}
    
    		bootstrapTrace(fmt.Sprintf("newErasureSets: initializing %s pool", humanize.Ordinal(i+1)), func() {
    			z.serverPools[i], err = newErasureSets(ctx, ep, storageDisks[i], formats[i], commonParityDrives, i)
    		})
    		if err != nil {
    			return nil, err
    		}
    
    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)
  2. cmd/iam-store.go

    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    // both the old and the new formats.
    func (d *PolicyDoc) parseJSON(data []byte) error {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/test-utils_test.go

    	scope := strings.Join([]string{
    		currTime.Format(yyyymmdd),
    		globalMinioDefaultRegion,
    		string(serviceS3),
    		"aws4_request",
    	}, SlashSeparator)
    
    	stringToSign := "AWS4-HMAC-SHA256" + "\n" + currTime.Format(iso8601Format) + "\n"
    	stringToSign += scope + "\n"
    	stringToSign += getSHA256Hash([]byte(canonicalRequest))
    
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(currTime.Format(yyyymmdd)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    		return s, err
    	}
    
    	if len(s.formatData) > 0 {
    		format := &formatErasureV3{}
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    		if err = json.Unmarshal(s.formatData, &format); err != nil {
    			return s, errCorruptedFormat
    		}
    		m, n, err := findDiskIndexByDiskID(format, format.Erasure.This)
    		if err != nil {
    			return s, err
    		}
    		diskID := format.Erasure.This
    		if m != ep.SetIdx || n != ep.DiskIdx {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    Klaus Post <******@****.***> 1713545023 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

          "attributes": {
            "__attr__image_dpi": 300,
            "__attr__image_size": [
              2550,
              3299
            ],
            "__attr__image_index": 1,
            "__attr__image_format": "JPEG",
            "__attr__file_extension": "jpg",
            "__attr__data": null
          }
        },
        {
          "element_type": "__elem__merfu",
          "element_id": "d868aefe-ef9a-4be2-b9b2-c9fd89cc43eb",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	ErrMalformedDate: {
    		Code:           "MalformedDate",
    		Description:    "Invalid date format header, expected to be in ISO8601, RFC1123 or RFC1123Z time format.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedPresignedDate: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Date must be in the ISO8601 Long Format \"yyyyMMdd'T'HHmmss'Z'\"",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/iam.go

    	retryCtx, cancel := context.WithCancel(ctx)
    
    	// Indicate to our routine to exit cleanly upon return.
    	defer cancel()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	// Migrate storage format if needed.
    	for {
    		// Migrate IAM configuration, if necessary.
    		if err := saveIAMFormat(retryCtx, sys.store); err != nil {
    			if configRetriableErrors(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/erasure-object.go

    		tags["set"] = er.setIndex
    		tags["pool"] = er.poolIndex
    		tags["merrs"] = joinErrs(errs)
    		tags["derrs"] = joinErrs(dataErrs)
    		if m.IsValid() {
    			tags["size"] = m.Size
    			tags["mtime"] = m.ModTime.Format(http.TimeFormat)
    			tags["data"] = m.Erasure.DataBlocks
    			tags["parity"] = m.Erasure.ParityBlocks
    		} else {
    			tags["invalid-meta"] = true
    			tags["data"] = er.setDriveCount - er.defaultParityCount
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foodir/fooobject",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top