Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 268 for upload (0.18 sec)

  1. cmd/server_test.go

    	// 1. Initiate 2 uploads for the same object
    	// 2. Upload 2 parts for the second upload
    	// 3. Abort the second upload.
    	// 4. Abort the first upload.
    	// This will test abort upload when there are more than one upload IDs
    	// and the case where there is only one upload ID.
    
    	// construct HTTP request to initiate a NewMultipart upload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	if bytesBuffer.String() != "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed." {
    		t.Errorf("%s: Invalid upload ID error mismatch.", instanceType)
    	}
    }
    
    // Wrapper for calling testNonExistentBucketOperations for both Erasure and FS.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    			ObjectOptions{Versioned: testCase.versioned})
    		if err != nil {
    			t.Fatalf("Test %d: Failed to upload a random object: %v", i+1, err)
    		}
    
    		// Step 3: Upload the object with some disks offline
    		sets.erasureDisksMu.Lock()
    		xl.getDisks = func() []StorageAPI {
    			disks := make([]StorageAPI, len(origErasureDisks))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    }
    
    // Multipart related errors.
    
    // MalformedUploadID malformed upload id.
    type MalformedUploadID struct {
    	UploadID string
    }
    
    func (e MalformedUploadID) Error() string {
    	return "Malformed upload id " + e.UploadID
    }
    
    // InvalidUploadID invalid upload id.
    type InvalidUploadID struct {
    	Bucket   string
    	Object   string
    	UploadID string
    }
    
    func (e InvalidUploadID) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	}
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutObjectAction, bucket, object); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Get upload id.
    	uploadID, _, _, _, s3Error := getObjectResources(r.Form)
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Content-Length is required and should be non-zero
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. buildscripts/verify-healing.sh

    	pid2=$!
    	disown $pid2
    
    	"${MINIO[@]}" --address ":$((start_port + 3))" $args >"${WORK_DIR}/dist-minio-server3.log" 2>&1 &
    	pid3=$!
    	disown $pid3
    
    	sleep "$1"
    
    	[ ${first_time} -eq 0 ] && upload_objects $start_port
    
    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/dist-minio-server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  7. cmd/mrf.go

    import (
    	"context"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/pkg/v2/wildcard"
    )
    
    const (
    	mrfOpsQueueSize = 100000
    )
    
    // partialOperation is a successful upload/delete of an object
    // but not written in all disks (having quorum)
    type partialOperation struct {
    	bucket              string
    	object              string
    	versionID           string
    	versions            []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  9. cmd/api-response.go

    		}
    	}
    	listMultipartUploadsResponse.Uploads = make([]Upload, len(multipartsInfo.Uploads))
    	for index, upload := range multipartsInfo.Uploads {
    		newUpload := Upload{}
    		newUpload.UploadID = upload.UploadID
    		newUpload.Key = s3EncodeName(upload.Object, encodingType)
    		newUpload.Initiated = amztime.ISO8601Format(upload.Initiated.UTC())
    		listMultipartUploadsResponse.Uploads[index] = newUpload
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchUpload: {
    		Code:           "NoSuchUpload",
    		Description:    "The specified multipart upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrInvalidVersionID: {
    		Code:           "InvalidArgument",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
Back to top