Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for abortMultipartUpload (0.55 sec)

  1. cmd/object-handlers_test.go

    		// Indicating that all parts are uploaded and initiating abortMultipartUpload.
    		req, err = newTestSignedRequestV4(http.MethodDelete, getAbortMultipartUploadURL("", testCase.bucket, testCase.object, testCase.uploadID),
    			0, nil, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    			t.Fatalf("Failed to create HTTP request for AbortMultipartUpload: <ERROR> %v", err)
    		}
    
    		rec := httptest.NewRecorder()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	defer func() {
    		if err != nil {
    			// block and abort remote upload upon failure.
    			attempts := 1
    			for attempts <= 3 {
    				actx, acancel := context.WithTimeout(ctx, time.Minute)
    				aerr := c.AbortMultipartUpload(actx, bucket, object, uploadID)
    				acancel()
    				if aerr == nil {
    					return
    				}
    				attempts++
    				time.Sleep(time.Duration(rand.Int63n(int64(time.Second))))
    			}
    		}
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
Back to top