Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 77 for multipart (0.06 seconds)

  1. cmd/erasure-multipart.go

    	return result, nil
    }
    
    // newMultipartUpload - wrapper for initializing a new multipart
    // request; returns a unique upload id.
    //
    // Internally this function creates 'uploads.json' associated for the
    // incoming object at
    // '.minio.sys/multipart/bucket/object/uploads.json' on all the
    // disks. `uploads.json` carries metadata regarding on-going multipart
    // operation(s) on the object.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  2. cmd/erasure-multipart-conditional_test.go

    		for i := range erasureDisks[:8] {
    			erasureDisks[i] = nil
    		}
    		return erasureDisks
    	}
    	z.serverPools[0].erasureDisksMu.Unlock()
    
    	t.Run("complete multipart with if-none-match and read quorum failure", func(t *testing.T) {
    		// Try to complete the multipart upload with if-none-match
    		// This should fail because we can't verify the condition due to read quorum failure
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. cmd/object-multipart-handlers.go

    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    		// Set this for multipart only operations, we need to differentiate during
    		// decryption if the file was actually multipart or not.
    		encMetadata[ReservedMetadataPrefix+"Encrypted-Multipart"] = ""
    	}
    
    	// Extract metadata that needs to be saved.
    	metadata, err := extractMetadataFromReq(ctx, r)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
  4. buildscripts/multipart-quorum-test.sh

        ]
    }
    EOF
    	err=$(aws --endpoint-url http://localhost:"$start_port" s3api complete-multipart-upload --upload-id "$uploadId" --bucket bucket --key obj-1 --multipart-upload file://./parts.json 2>&1)
    	rv=$?
    	if [ $rv -eq 0 ]; then
    		echo "Failed to receive an error"
    		exit 1
    	fi
    	echo "Received an error during complete-multipart as expected: $err"
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 10:51:23 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. .github/workflows/mint.yml

          - name: build-minio
            run: |
              TAG="quay.io/minio/minio:${{ steps.vars.outputs.sha_short }}" make docker
    
          - name: multipart uploads test
            run: |
              ${GITHUB_WORKSPACE}/.github/workflows/multipart/migrate.sh "${{ steps.vars.outputs.sha_short }}"
    
          - name: compress and encrypt
            run: |
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. docs/site-replication/run-replication-with-checksum-header.sh

    	fi
    done
    
    echo "{\"Parts\":[${PARTS}]}" >fileparts.json
    jq <fileparts.json
    aws s3api --endpoint-url=https://localhost:9001 complete-multipart-upload --multipart-upload file://fileparts.json --bucket test-bucket --key mpartobj --upload-id "${UPLOAD_ID}" --no-verify-ssl --profile enterprise
    sleep 120
    
    # List the objects from replicated site
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. .github/workflows/replication.yaml

              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-versioning
    
          - name: Test Multipart upload with failures
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. cmd/erasure-healing_test.go

    	if err != nil {
    		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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  9. internal/etag/etag_test.go

    		},
    		Multipart: must("a7d414b9133d6483d9a1c4e04e856e3b-2"),
    	},
    }
    
    func TestMultipart(t *testing.T) {
    	for i, test := range multipartTests {
    		if multipart := Multipart(test.ETags...); !Equal(multipart, test.Multipart) {
    			t.Fatalf("Test %d: got %q - want %q", i, multipart, test.Multipart)
    		}
    	}
    }
    
    var isEncryptedTests = []struct {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. cmd/encryption-v1.go

    			}
    		}
    		objects = objects[N:]
    	}
    	return nil
    }
    
    // isMultipart returns true if the current object is
    // uploaded by the user using multipart mechanism:
    // initiate new multipart, upload part, complete upload
    func (o *ObjectInfo) isMultipart() bool {
    	_, encrypted := crypto.IsEncrypted(o.UserDefined)
    	if encrypted {
    		if !crypto.IsMultiPart(o.UserDefined) {
    			return false
    		}
    		for _, part := range o.Parts {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
Back to Top