Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Peal (0.19 sec)

  1. internal/config/heal/heal.go

    	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
    
    // Config represents the heal settings.
    type Config struct {
    	// Bitrot will perform bitrot scan on local disk when checking objects.
    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. cmd/global-heal.go

    			case evt.Action.DeleteRestored(): // if restored copy has expired,delete it synchronously
    				applyExpiryOnTransitionedObject(ctx, newObjectLayerFn(), objInfo, evt, lcEventSrc_Heal)
    				return false
    			case evt.Action.Delete():
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_Heal)
    				return true
    			default:
    				return false
    			}
    		}
    
    		// Collect updates to tracker from concurrent healEntry calls
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. buildscripts/minio-upgrade.sh

    		rm -s -f
    	docker volume prune -f
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    }
    
    // HealHandler - POST /minio/admin/v3/heal/
    // -----------
    // Start heal processing and return heal status items.
    //
    // On a successful heal sequence start, a unique client token is
    // returned. Subsequent requests to this endpoint providing the client
    // token will receive heal status records from the running heal
    // sequence.
    //
    // If no client token is provided, and a heal sequence is in progress
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  5. cmd/erasure-healing.go

    						tillOffset, DefaultBitrotAlgorithm, erasure.ShardSize())
    				}
    			}
    
    			// Heal each part. erasure.Heal() will write the healed
    			// part to .minio/tmp/uuid/ which needs to be renamed
    			// later to the final location.
    			err = erasure.Heal(ctx, writers, readers, partSize, prefer)
    			closeBitrotReaders(readers)
    			closeBitrotWriters(writers)
    			if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		select {
    		case <-healTimer.C:
    			c.RLock()
    			enabled := c.enabled
    			c.RUnlock()
    			if enabled {
    				refreshStart := time.Now()
    				c.healIAMSystem(ctx, objAPI) // heal IAM system first
    				c.healBuckets(ctx, objAPI)   // heal buckets subsequently
    
    				took := time.Since(refreshStart).Seconds()
    				if took > maxRefreshDurationSecondsForLog {
    					// Log if we took a lot of time.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  7. .github/workflows/multipart/migrate.sh

    docker-compose -f docker-compose-site2.yaml up -d
    
    ./mc ready site1/
    ./mc ready site2/
    
    for i in $(seq 1 10); do
    	# mc admin heal -r --remove when used against a LB endpoint
    	# behaves flaky, let this run 10 times before giving up
    	./mc admin heal -r --remove --json site1/ 2>&1 >/dev/null
    	./mc admin heal -r --remove --json site2/ 2>&1 >/dev/null
    done
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    			}
    
    			item.heal.enabled = thisHash.modAlt(f.oldCache.Info.NextCycle/folder.objectHealProbDiv, f.healObjectSelect/folder.objectHealProbDiv) && globalIsErasure
    			item.heal.bitrot = f.scanMode == madmin.HealDeepScan
    
    			// if the drive belongs to an erasure set
    			// that is already being healed, skip the
    			// healing attempt on this drive.
    			item.heal.enabled = item.heal.enabled && f.healObjectSelect > 0
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    		index := index
    		g.Go(func() error {
    			if storageDisks[index] == nil {
    				return errDiskNotFound
    			}
    			format, err := loadFormatErasure(storageDisks[index], heal)
    			if err != nil {
    				return err
    			}
    			formats[index] = format
    			if !heal {
    				// If no healing required, make the disks valid and
    				// online.
    				storageDisks[index].SetDiskID(format.Erasure.This)
    			}
    			return nil
    		}, index)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. cmd/mrf.go

    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    		case u, ok := <-m.opCh:
    			if !ok {
    				return
    			}
    
    			// We might land at .metacache, .trash, .multipart
    			// no need to heal them skip, only when bucket
    			// is '.minio.sys'
    			if u.bucket == minioMetaBucket {
    				// No MRF needed for temporary objects
    				if wildcard.Match("buckets/*/.metacache/*", u.object) {
    					continue
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top