Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 415 for Do (0.35 sec)

  1. cmd/server_test.go

    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, "my-object-directory/"),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    
    	c.Assert(err, nil)
    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. internal/once/init.go

    type Init struct {
    	done uint32
    	m    sync.Mutex
    }
    
    // Do is similar to sync.Once.Do - makes one successful
    // call to the function. ie, it invokes the function
    // if it is not successful yet.
    func (l *Init) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.do(f)
    	}
    	return nil
    }
    
    func (l *Init) do(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. buildscripts/verify-healing.sh

    	export MINIO_ROOT_PASSWORD=minio123
    	export MINIO_ERASURE_SET_DRIVE_COUNT=6
    	export MINIO_CI_CD=1
    
    	first_time=$(find ${WORK_DIR}/ | grep format.json | wc -l)
    
    	start_port=$2
    	args=""
    	for d in $(seq 1 3 5); do
    		args="$args http://127.0.0.1:$((start_port + 1))${WORK_DIR}/1/${d}/ http://127.0.0.1:$((start_port + 2))${WORK_DIR}/2/${d}/ http://127.0.0.1:$((start_port + 3))${WORK_DIR}/3/${d}/ "
    		d=$((d + 1))
    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)
  4. buildscripts/heal-inconsistent-versions.sh

    	"${PWD}/mc" mb --with-versioning minio/bucket
    
    	for i in $(seq 1 4); do
    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R root. "${WORK_DIR}/disk${i}"
    
    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R ${USER}. "${WORK_DIR}/disk${i}"
    	done
    
    	for vid in $("${PWD}/mc" ls --json --versions minio/bucket/testobj | jq -r .versionId); do
    		"${PWD}/mc" cat --vid "${vid}" minio/bucket/testobj | md5sum
    	done
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. internal/grid/README.md

    Requests can be "Single Payload" or "Streamed".
    
    Use the MinIO Grid for:
    
    * Small, frequent requests with low latency requirements.
    * Long-running requests with small/medium payloads.
    
    Do *not* use the MinIO Grid for:
    
    * Large payloads.
    
    Only a single connection is ever made between two servers.
    Likely this means that this connection will not be able to saturate network bandwidth.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. buildscripts/verify-build.sh

    	(cd "$WORK_DIR" && "$FUNCTIONAL_TESTS")
    	rv=$?
    
    	pkill minio
    	sleep 3
    
    	if [ "$rv" -ne 0 ]; then
    		for i in $(seq 0 1); do
    			echo "server$i log:"
    			cat "$WORK_DIR/pool-minio-900$i.log"
    		done
    	fi
    
    	for i in $(seq 0 1); do
    		rm -f "$WORK_DIR/pool-minio-900$i.log"
    	done
    
    	return "$rv"
    }
    
    function run_test_pool_erasure_sets_ipv6() {
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  7. .github/workflows/mint.yml

          - name: The job must cleanup
            if: ${{ always() }}
            run: |
              export JOB_NAME=${{ steps.vars.outputs.sha_short }}
              for mode in $(echo compress-encrypt pools erasure); do
                 docker-compose -f ${GITHUB_WORKSPACE}/.github/workflows/mint/minio-${mode}.yaml down || true
                 docker-compose -f ${GITHUB_WORKSPACE}/.github/workflows/mint/minio-${mode}.yaml rm || true
              done
    
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. docs/debugging/s3-check-md5/main.go

    				log.Println("SKIPPED: Objects encrypted with SSE-C do not have md5sum as ETag:", objFullPath(object))
    				continue
    			}
    			if v, ok := object.UserMetadata["X-Amz-Server-Side-Encryption"]; ok && v == "aws:kms" {
    				log.Println("SKIPPED: encrypted with SSE-KMS do not have md5sum as ETag:", objFullPath(object))
    				continue
    			}
    			parts := 1
    			multipart := false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. buildscripts/minio-upgrade.sh

    		echo "mismatch - expected ${expected}, got ${got}"
    		exit 1
    	fi
    	echo "matches - ${expected}, got ${got}"
    }
    
    add_alias() {
    	for i in $(seq 1 4); do
    		echo "... attempting to add alias $i"
    		until (mc alias set minio http://127.0.0.1:9000 minioadmin minioadmin); do
    			echo "...waiting... for 5secs" && sleep 5
    		done
    	done
    
    	echo "Sleeping for nginx"
    	sleep 20
    }
    
    __init__() {
    	sudo apt install curl -y
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. cmd/tier-journal.go

    // rotate rotates the journal. If a read-only journal already exists it does
    // nothing. Otherwise renames the active journal to a read-only journal and
    // opens a new active journal.
    func (jd *tierDiskJournal) rotate() error {
    	// Do nothing if a read-only journal file already exists.
    	if _, err := os.Stat(jd.ReadOnlyPath()); err == nil {
    		return nil
    	}
    	// Close the active journal if present and delete it.
    	return jd.Close()
    }
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top