Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AbortMultipartUpload (1.53 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top