Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for maxParts (0.11 sec)

  1. cmd/object-api-multipart_test.go

    		if actualErr == nil && testCase.shouldPass {
    			expectedResult := testCase.expectedResult
    			// Asserting the MaxParts.
    			if actualResult.MaxParts != expectedResult.MaxParts {
    				t.Errorf("Test %d: %s: Expected the MaxParts to be %d, but instead found it to be %d", i+1, instanceType, expectedResult.MaxParts, actualResult.MaxParts)
    			}
    			// Asserting Object Name.
    			if actualResult.Object != expectedResult.Object {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	if partNumberMarker < 0 {
    		partNumberMarker = 0
    	}
    
    	// Limit output to maxPartsList.
    	if maxParts > maxPartsList {
    		maxParts = maxPartsList
    	}
    
    	// Populate the result stub.
    	result.Bucket = bucket
    	result.Object = object
    	result.UploadID = uploadID
    	result.MaxParts = maxParts
    	result.PartNumberMarker = partNumberMarker
    	result.UserDefined = cloneMSS(fi.Metadata)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/api-response.go

    		DisplayName: globalMinioDefaultOwnerID,
    	}
    	listPartsResponse.Owner = Owner{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    
    	listPartsResponse.MaxParts = partsInfo.MaxParts
    	listPartsResponse.PartNumberMarker = partsInfo.PartNumberMarker
    	listPartsResponse.IsTruncated = partsInfo.IsTruncated
    	listPartsResponse.NextPartNumberMarker = partsInfo.NextPartNumberMarker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	UserDefined         map[string]string   // only set in case of POST/PUT operations
    	ObjectAttributes    map[string]struct{} // Attribute tags defined by the users for the GetObjectAttributes request
    	MaxParts            int                 // used in GetObjectAttributes. Signals how many parts we should return
    	PartNumberMarker    int                 // used in GetObjectAttributes. Signals the part number after which results should be returned
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    		return
    	}
    
    	uploadID, partNumberMarker, maxParts, encodingType, s3Error := getObjectResources(r.Form)
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    	if partNumberMarker < 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPartNumberMarker), r.URL)
    		return
    	}
    	if maxParts < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    func (s *erasureSets) ListObjectParts(ctx context.Context, bucket, object, uploadID string, partNumberMarker int, maxParts int, opts ObjectOptions) (result ListPartsInfo, err error) {
    	set := s.getHashedSet(object)
    	return set.ListObjectParts(ctx, bucket, object, uploadID, partNumberMarker, maxParts, opts)
    }
    
    // Aborts an in-progress multipart operation on hashedSet based on the object name.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  7. cmd/bucket-handlers.go

    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    		if maxParts <= 0 {
    			apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    			apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge)
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    		maxParts--
    
    		name := part.FormName()
    		if name == "" {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    	testCases := []struct {
    		fault            Fault
    		partNumberMarker string
    		maxParts         string
    		expectedErr      APIError
    	}{
    		// Test case - 1.
    		// case where a signature mismatch is introduced and the response is validated.
    		{
    			fault:            BadSignature,
    			partNumberMarker: "",
    			maxParts:         "",
    			expectedErr:      signatureMismatchErr,
    		},
    
    		// Test case - 2.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    	if z.SinglePool() {
    		return z.serverPools[0].ListObjectParts(ctx, bucket, object, uploadID, partNumberMarker, maxParts, opts)
    	}
    
    	for idx, pool := range z.serverPools {
    		if z.IsSuspended(idx) {
    			continue
    		}
    		result, err := pool.ListObjectParts(ctx, bucket, object, uploadID, partNumberMarker, maxParts, opts)
    		if err == nil {
    			return result, nil
    		}
    		if _, ok := err.(InvalidUploadID); ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    		OA.ObjectParts.MaxParts = opts.MaxParts
    		partsLength := len(objInfo.Parts)
    		OA.ObjectParts.PartsCount = partsLength
    
    		if opts.MaxParts > -1 {
    			for i, v := range objInfo.Parts {
    				if v.Number <= opts.PartNumberMarker {
    					continue
    				}
    
    				if len(OA.ObjectParts.Parts) == opts.MaxParts {
    					break
    				}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top