Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 412 for do (0.25 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 Apr 21 19:28:08 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. buildscripts/verify-healing.sh

    function start_minio_3_node() {
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    	export MINIO_ERASURE_SET_DRIVE_COUNT=6
    	export MINIO_CI_CD=1
    
    	start_port=$2
    	args=""
    	for i in $(seq 1 3); do
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.2K bytes
    - Viewed (1)
  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 Apr 21 19:28:08 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 Apr 21 19:28:08 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 Apr 21 19:28:08 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. internal/logger/logonce.go

    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    	} else if prev.Err.Error() == nerr.Error() {
    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		consoleLogIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    const unwrapErrsDepth = 3
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top