Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for partNumbers (0.1 sec)

  1. cmd/api-response.go

    	listPartsResponse.ChecksumAlgorithm = partsInfo.ChecksumAlgorithm
    
    	listPartsResponse.Parts = make([]Part, len(partsInfo.Parts))
    	for index, part := range partsInfo.Parts {
    		newPart := Part{}
    		newPart.PartNumber = part.PartNumber
    		newPart.ETag = "\"" + part.ETag + "\""
    		newPart.Size = part.Size
    		newPart.LastModified = amztime.ISO8601Format(part.LastModified.UTC())
    		newPart.ChecksumCRC32 = part.ChecksumCRC32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/s3-zip-handlers.go

    					s3Error = ErrNoSuchKey
    				}
    			}
    		}
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// We do not allow offsetting into extracted files.
    	if opts.PartNumber != 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPartNumber), r.URL)
    		return
    	}
    
    	if r.Header.Get(xhttp.Range) != "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRange), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. docs/debugging/s3-check-md5/main.go

    				continue
    			}
    
    			var partsMD5Sum [][]byte
    			var failedMD5 bool
    			for p := 1; p <= parts; p++ {
    				opts := minio.GetObjectOptions{
    					VersionID:  object.VersionID,
    					PartNumber: p,
    				}
    				obj, err := s3Client.GetObject(context.Background(), bucket, object.Key, opts)
    				if err != nil {
    					log.Println("FAILED: GET", objFullPath(object), "=>", err)
    					failedMD5 = true
    					break
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. cmd/typed-errors.go

    // error returned when upload id not found
    var errUploadIDNotFound = errors.New("Specified Upload ID is not found")
    
    // error returned when PartNumber is greater than the maximum allowed 10000 parts
    var errInvalidMaxParts = errors.New("Part number is greater than the maximum allowed 10000 parts")
    
    // error returned for session policies > 2048
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to upload object part, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Complete multipart.
    	parts := []CompletePart{
    		{ETag: etag1, PartNumber: 1},
    		{ETag: etag2, PartNumber: 2},
    	}
    	_, err = obj.CompleteMultipartUpload(context.Background(), bucket, object, uploadID, parts, ObjectOptions{})
    	if err != nil {
    		// Failed to complete multipart upload, abort.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    		return
    	}
    
    	if !sort.SliceIsSorted(complMultipartUpload.Parts, func(i, j int) bool {
    		return complMultipartUpload.Parts[i].PartNumber < complMultipartUpload.Parts[j].PartNumber
    	}) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPartOrder), r.URL)
    		return
    	}
    
    	// Reject retention or governance headers if set, CompleteMultipartUpload spec
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	// Get request range.
    	var rs *HTTPRangeSpec
    	var rangeErr error
    	rangeHeader := r.Header.Get(xhttp.Range)
    	if rangeHeader != "" {
    		// Both 'Range' and 'partNumber' cannot be specified at the same time
    		if opts.PartNumber > 0 {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRangePartNumber), r.URL)
    			return
    		}
    
    		rs, rangeErr = parseRequestRangeSpec(rangeHeader)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common_test.go

    			Algorithm:    "ReedSolomon",
    			DataBlocks:   6,
    			ParityBlocks: 6,
    			BlockSize:    1048576,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
    			Checksums:    []ChecksumInfo{{PartNumber: 1, Algorithm: 0x3, Hash: []uint8{}}},
    		},
    		NumVersions: 1,
    		Idx:         0,
    	}
    
    	fi2 := FileInfo{
    		Volume:           "mybucket",
    		Name:             "myobject",
    		VersionID:        "",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    		var partNumber int
    		fmt.Sscanf(pathutil.Base(partMetaPath), "part.%d.meta", &partNumber)
    
    		if contextCanceled(ctx) {
    			parts[idx] = &ObjectPartInfo{
    				Error:  ctx.Err().Error(),
    				Number: partNumber,
    			}
    			continue
    		}
    
    		if err := Access(pathJoin(volumeDir, pathutil.Dir(partMetaPath), fmt.Sprintf("part.%d", partNumber))); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    			return err
    		}
    		if pInfo.Size != objInfo.Size {
    			return fmt.Errorf("Part size mismatch: got %d, want %d", pInfo.Size, objInfo.Size)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    	_, err = api.CompleteMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, uploadedParts, opts)
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top