Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for CompleteMultipartUpload (0.13 sec)

  1. cmd/batch-handlers.go

    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    	_, err = api.CompleteMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, uploadedParts, opts)
    	return err
    }
    
    // StartFromSource starts the batch replication job from remote source, resumes if there was a pending job via "job.ID"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	var uploadedParts []minio.CompletePart
    	// new multipart must not set mtime as it may lead to erroneous cleanups at various intervals.
    	opts.Internal.SourceMTime = time.Time{} // this value is saved properly in CompleteMultipartUpload()
    	var uploadID string
    	attempts := 1
    	for attempts <= 3 {
    		nctx, cancel := context.WithTimeout(ctx, time.Minute)
    		uploadID, err = c.NewMultipartUpload(nctx, bucket, object, opts)
    		cancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	response2, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response2.StatusCode, http.StatusOK)
    
    	// Complete multipart upload
    	completeUploads := &CompleteMultipartUpload{
    		Parts: []CompletePart{
    			{
    				PartNumber: 1,
    				ETag:       response1.Header.Get("ETag"),
    			},
    			{
    				PartNumber: 2,
    				ETag:       response2.Header.Get("ETag"),
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    	_, err = er.CompleteMultipartUpload(ctx, bucket, object, res.UploadID, uploadedParts, ObjectOptions{
    		MTime: oi.ModTime,
    	})
    	return setRestoreHeaderFn(oi, err)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    			} else {
    				t.Fatalf("Missing etag header")
    			}
    		}
    
    		// Call CompleteMultipart API
    		compMpBody, err := xml.Marshal(CompleteMultipartUpload{Parts: cp})
    		if err != nil {
    			t.Fatalf("Unexpected err: %#v", err)
    		}
    		reqC, errP := newTestSignedRequestV4(http.MethodPost,
    			getCompleteMultipartUploadURL("", bucketName, objectName, upID),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top