Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 572 for heal (0.04 sec)

  1. internal/config/heal/heal.go

    	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.
    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    					result = healEntryFailure(uint64(version.Size))
    					if version.VersionID != "" {
    						healingLogIf(ctx, fmt.Errorf("unable to heal object %s/%s-v(%s): %w", bucket, version.Name, version.VersionID, err))
    					} else {
    						healingLogIf(ctx, fmt.Errorf("unable to heal object %s/%s: %w", bucket, version.Name, err))
    					}
    				} else {
    					result = healEntrySuccess(uint64(res.ObjectSize))
    				}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. cmd/background-heal-ops.go

    	"runtime"
    	"strconv"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/pkg/v3/env"
    )
    
    // healTask represents what to heal along with options
    //
    //	path: '/' =>  Heal disk formats along with metadata
    //	path: 'bucket/' or '/bucket/' => Heal bucket
    //	path: 'bucket/object' => Heal object
    type healTask struct {
    	bucket    string
    	object    string
    	versionID string
    	opts      madmin.HealOpts
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    	healFinishedStatus                     = "finished"
    )
    
    const (
    	// a heal sequence with this many un-consumed heal result
    	// items blocks until heal-status consumption resumes or is
    	// aborted due to timeout.
    	maxUnconsumedHealResultItems = 1000
    
    	// if no heal-results are consumed (via the heal-status API)
    	// for this timeout duration, the heal sequence is aborted.
    	healUnconsumedTimeout = 24 * time.Hour
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 18:04:41 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. cmd/background-newdisks-heal-ops.go

    		tracker = initHealingTracker(disk, mustGetUUID())
    	}
    
    	healingLogEvent(ctx, "Healing drive '%s' - 'mc admin heal alias/ --verbose' to check the current status.", endpoint)
    
    	buckets, _ := z.ListBuckets(ctx, BucketOptions{})
    	// Buckets data are dispersed in multiple pools/sets, make
    	// sure to heal all bucket metadata configuration.
    	buckets = append(buckets, BucketInfo{
    		Name: pathJoin(minioMetaBucket, minioConfigPrefix),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:32 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal1.Equals(fileInfoPostHeal1) {
    		t.Fatal("HealObject failed")
    	}
    
    	fileInfoPostHeal2, err = disk.ReadVersion(context.Background(), "", bucket, object, "", ReadOptions{ReadData: false, Healing: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K 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
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  9. .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
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K 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
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top