Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for uploadID (0.24 sec)

  1. cmd/object-api-multipart_test.go

    		// Test Case - 10.
    		// Case with valid UploadID, existing bucket name.
    		// But using the bucket name from which NewMultipartUpload is not constructed from.
    		{bucketName: "unused-bucket", objName: object, uploadID: uploadID, PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id "+uploadID)},
    		// Test Case - 11.
    		// Case with valid UploadID, existing bucket name.
    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-server-pool.go

    		Object:   object,
    		UploadID: uploadID,
    	}
    }
    
    func (z *erasureServerPools) GetMultipartInfo(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (MultipartInfo, error) {
    	if err := checkListPartsArgs(ctx, bucket, object, uploadID); err != nil {
    		return MultipartInfo{}, err
    	}
    
    	uploadIDLock := z.NewNSLock(bucket, pathJoin(object, uploadID))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("partNumber", partNumber)
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValues)
    }
    
    // return URL for aborting multipart upload.
    func getAbortMultipartUploadURL(endPoint, bucketName, objectName, uploadID string) string {
    	queryValue := url.Values{}
    	queryValue.Set("uploadId", uploadID)
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValue)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    		t.Fatalf("Failed to make a bucket - %v", err)
    	}
    
    	// Upload a multipart object in the second pool
    	z := objLayer.(*erasureServerPools)
    	set := z.serverPools[1]
    
    	res, err := set.NewMultipartUpload(ctx, bucket, object, opts)
    	if err != nil {
    		t.Fatalf("Failed to create a multipart upload - %v", err)
    	}
    	uploadID := res.UploadID
    
    	var uploadedParts []CompletePart
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    				return
    			}
    		case "Uploads":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Uploads")
    				return
    			}
    			if cap(z.Uploads) >= int(zb0002) {
    				z.Uploads = (z.Uploads)[:zb0002]
    			} else {
    				z.Uploads = make([]MultipartInfo, zb0002)
    			}
    			for za0001 := range z.Uploads {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	if err != nil {
    		return err
    	}
    
    	defer func() {
    		if err != nil {
    			// block and abort remote upload upon failure.
    			attempts := 1
    			for attempts <= 3 {
    				aerr := api.AbortMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, ObjectOptions{})
    				if aerr == nil {
    					return
    				}
    				batchLogIf(ctx,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    	}
    
    	pools, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		return
    	}
    
    	// No need to return errors, this is not a highly strict operation.
    	uploadID := mss.Get(peerRESTUploadID)
    	if uploadID != "" {
    		pools.ClearUploadID(uploadID)
    	}
    
    	return
    }
    
    func (s *peerRESTServer) StopRebalanceHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    		if err != nil {
    			return setRestoreHeaderFn(oi, err)
    		}
    		pInfo, err := er.PutObjectPart(ctx, bucket, object, res.UploadID, partInfo.Number, NewPutObjReader(hr), ObjectOptions{})
    		if err != nil {
    			return setRestoreHeaderFn(oi, err)
    		}
    		if pInfo.Size != partInfo.Size {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    
    ### Step 3: Test with Thumbnailer
    
    We used [Thumbnailer](https://github.com/minio/thumbnailer) to listen for MinIO notifications when a new JPEG file is uploaded (HTTP PUT). Triggered by a notification, Thumbnailer uploads a thumbnail of new image to MinIO server. To start with, download and install Thumbnailer.
    
    ```
    git clone https://github.com/minio/thumbnailer/
    npm install
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    }
    
    // ListMultipartUploadsHandler - GET Bucket (List Multipart uploads)
    // -------------------------
    // This operation lists in-progress multipart uploads. An in-progress
    // multipart upload is a multipart upload that has been initiated,
    // using the Initiate Multipart Upload request, but has not yet been
    // completed or aborted. This operation returns at most 1,000 multipart
    // uploads in the response.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top