Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 5MiB (0.04 sec)

  1. buildscripts/multipart-quorum-test.sh

    	uploadId=$(jq -r '.UploadId' upload-id.json)
    
    	truncate -s 5MiB file-5mib
    	for i in {1..2}; do
    		aws --endpoint-url http://localhost:"$start_port" s3api upload-part \
    			--upload-id "$uploadId" --bucket bucket --key obj-1 \
    			--part-number "$i" --body ./file-5mib
    	done
    	for i in {1..6}; do
    		find ${WORK_DIR}/disk${i}/.minio.sys/multipart/ -type f -name "part.1" -delete
    	done
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. cmd/batch-replicate_test.go

    #      inmemory: true # indicates if the archive must be staged locally or in-memory
    #      compress: false # S2/Snappy compressed archive
    #      smallerThan: 5MiB # create archive for all objects smaller than 5MiB
    #      skipErrs: false # skips any source side read() errors
    
      # target where the objects must be replicated
      target:
        type: minio # valid values are "s3" or "minio"
        bucket: mytest
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types.go

    //     inmemory: true # indicates if the archive must be staged locally or in-memory
    //     compress: true # S2/Snappy compressed archive
    //     smallerThan: 5MiB # create archive for all objects smaller than 5MiB
    //     skipErrs: false # skips any source side read() errors
    
    // BatchJobSnowball describes the snowball feature when replicating objects from a local source to a remote target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-format_test.go

    		{4 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 3, 0},
    		// part size 2MiB, total size 5MiB
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 3, 1 * humanize.MiByte},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. cmd/erasure-decode_test.go

    	}
    	disks := setup.disks
    	erasure, err := NewErasure(context.Background(), dataBlocks, parityBlocks, blockSize)
    	if err != nil {
    		t.Fatalf("failed to create ErasureStorage: %v", err)
    	}
    	// Prepare a slice of 5MiB with random data.
    	data := make([]byte, 5*humanize.MiByte)
    	length := int64(len(data))
    	_, err = rand.Read(data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	writers := make([]io.Writer, len(disks))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    		dataSize int64
    	}{
    		{"4KiB", 4 * humanize.KiByte},
    		{"64KiB", 64 * humanize.KiByte},
    		{"128KiB", 128 * humanize.KiByte},
    		{"1MiB", 1 * humanize.MiByte},
    		{"5MiB", 5 * humanize.MiByte},
    		{"10MiB", 10 * humanize.MiByte},
    		{"5MiB-1KiB", 5*humanize.MiByte - 1*humanize.KiByte},
    		{"10MiB-1Kib", 10*humanize.MiByte - 1*humanize.KiByte},
    	}
    
    	for _, test := range tests {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. cmd/object_api_suite_test.go

    	}
    	res, err := obj.NewMultipartUpload(context.Background(), "bucket", "key", opts)
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	uploadID := res.UploadID
    
    	// Create a byte array of 5MiB.
    	data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16)
    	completedParts := CompleteMultipartUpload{}
    	for i := 1; i <= 10; i++ {
    		expectedETaghex := getMD5Hash(data)
    
    		var calcPartInfo PartInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. cmd/utils.go

    	// use cases where users are going to upload large files
    	// using 'curl' and presigned URL.
    	globalMaxObjectSize = 5 * humanize.TiByte
    
    	// Minimum Part size for multipart upload is 5MiB
    	globalMinPartSize = 5 * humanize.MiByte
    
    	// Maximum Part ID for multipart upload is 10000
    	// (Acceptable values range from 1 to 10000 inclusive)
    	globalMaxPartID = 10000
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		if job.Replicate.Source.Snowball.Compress == nil {
    			job.Replicate.Source.Snowball.Compress = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.SmallerThan == nil {
    			job.Replicate.Source.Snowball.SmallerThan = ptr("5MiB")
    		}
    		if job.Replicate.Source.Snowball.SkipErrs == nil {
    			job.Replicate.Source.Snowball.SkipErrs = ptr(true)
    		}
    	}
    
    	//  Validate the incoming job request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top