Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for Sleep (0.18 sec)

  1. internal/config/heal/heal.go

    	"github.com/minio/pkg/v2/env"
    )
    
    // Compression environment variables
    const (
    	Bitrot       = "bitrotscan"
    	Sleep        = "max_sleep"
    	IOCount      = "max_io"
    	DriveWorkers = "drive_workers"
    
    	EnvBitrot       = "MINIO_HEAL_BITROTSCAN"
    	EnvSleep        = "MINIO_HEAL_MAX_SLEEP"
    	EnvIOCount      = "MINIO_HEAL_MAX_IO"
    	EnvDriveWorkers = "MINIO_HEAL_DRIVE_WORKERS"
    )
    
    var configMutex sync.RWMutex
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. docs/site-replication/run-multi-site-minio-idp.sh

    sleep 5
    
    ./mc admin user info minio2 foobar
    
    ./mc admin group info minio1 foobar-g
    
    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    ./mc admin policy info minio2 rw >/dev/null 2>&1
    
    ./mc admin replicate status minio1
    
    ## Add a new empty site
    ./mc admin replicate add minio1 minio2 minio3
    
    sleep 10
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-ldap.sh

    site3_pid=$!
    
    sleep 10
    
    export MC_HOST_minio1=http://minio:minio123@localhost:9001
    export MC_HOST_minio2=http://minio:minio123@localhost:9002
    export MC_HOST_minio3=http://minio:minio123@localhost:9003
    
    ./mc admin replicate add minio1 minio2 minio3
    
    ./mc idp ldap policy attach minio1 consoleAdmin --user="uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    sleep 5
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
  4. internal/dsync/dsync_test.go

    	// fmt.Println("Lock acquired, waiting...")
    	time.Sleep(testDrwMutexRefreshCallTimeout)
    
    	dm.Unlock(context.Background())
    }
    
    func TestSimpleLockUnlockMultipleTimes(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-oidc.sh

    		chmod +x mc
    fi
    
    sleep 10
    
    export MC_HOST_minio1=http://minio:minio123@localhost:9001
    export MC_HOST_minio2=http://minio:minio123@localhost:9002
    export MC_HOST_minio3=http://minio:minio123@localhost:9003
    
    ./mc admin replicate add minio1 minio2 minio3
    
    ./mc admin policy create minio1 projecta ./docs/site-replication/rw.json
    sleep 5
    
    ./mc admin policy info minio2 projecta >/dev/null 2>&1
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	"http://127.0.0.1:9008/tmp/multisited/data/disterasure/xl{5...8}" >/tmp/sited_2.log 2>&1 &
    
    # Wait to make sure all MinIO instances are up
    sleep 30s
    
    export MC_HOST_sitea=http://minio:minio123@127.0.0.1:9001
    export MC_HOST_siteb=http://minio:minio123@127.0.0.1:9004
    export MC_HOST_sitec=http://minio:minio123@127.0.0.1:9006
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. buildscripts/rewrite-old-new.sh

    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	kill ${pid}
    	sleep 3
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/xl{1...16}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    	sleep 10
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.5K bytes
    - Viewed (1)
  8. buildscripts/verify-healing-with-root-disks.sh

    	# /tmp/xxx/mnt/disk4 will be the same as '/' and it
    	# will be detected as root disk
    	while [ "$u" != "0" ]; do
    		sudo umount ${WORK_DIR}/mnt/disk4/
    		u=$?
    		sleep 1
    	done
    
    	# Wait until MinIO self heal kicks in
    	sleep 60
    
    	if [ -f ${WORK_DIR}/mnt/disk4/.minio.sys/format.json ]; then
    		echo "A root disk is formatted unexpectedely"
    		cat "${WORK_DIR}/server4.log"
    		exit -1
    	fi
    }
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. helm/minio/templates/_helper_custom_command.txt

    {{- if .Values.configPathmc }}
    MC_CONFIG_DIR="{{ .Values.configPathmc }}"
    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # connectToMinio
    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
      SCHEME=$1
      ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
      set -e ; # fail if we can't read the keys.
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Feb 19 20:34:14 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  10. helm/minio/templates/_helper_create_bucket.txt

    {{- if .Values.configPathmc }}
    MC_CONFIG_DIR="{{ .Values.configPathmc }}"
    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # connectToMinio
    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
    	SCHEME=$1
    	ATTEMPTS=0
    	LIMIT=29 # Allow 30 attempts
    	set -e   # fail if we can't read the keys.
    	ACCESS=$(cat /config/rootUser)
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jan 12 18:18:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top