Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for healing (0.07 sec)

  1. cmd/erasure-healing-common.go

    			verifyResp *CheckPartsResp
    		)
    
    		switch scanMode {
    		case madmin.HealDeepScan:
    			// disk has a valid xl.meta but may not have all the
    			// parts. This is considered an outdated disk, since
    			// it needs healing too.
    			verifyResp, verifyErr = onlineDisk.VerifyFile(ctx, bucket, object, meta)
    		default:
    			verifyResp, verifyErr = onlineDisk.CheckParts(ctx, bucket, object, meta)
    		}
    
    		for p := range latestMeta.Parts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    			console.Debugf(color.Green("healDrive:")+" healing bucket %s content on %s erasure set\n",
    				bucket, humanize.Ordinal(er.setIndex+1))
    		}
    
    		disks, _, healing := er.getOnlineDisksWithHealingAndInfo(true)
    		if len(disks) == healing {
    			// All drives in this erasure set were reformatted for some reasons, abort healing and mark it as successful
    			healingLogIf(ctx, errors.New("all drives are in healing state, aborting.."))
    			return nil
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. Makefile

    verify-healing: install-race ## verify healing and replacing disks with minio binary
    	@echo "Verify healing build with race"
    	@(env bash $(PWD)/buildscripts/verify-healing.sh)
    	@(env bash $(PWD)/buildscripts/verify-healing-empty-erasure-set.sh)
    	@(env bash $(PWD)/buildscripts/heal-inconsistent-versions.sh)
    
    verify-healing-with-root-disks: install-race ## verify healing root disks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    	defer locker.Unlock(lkctx)
    
    	// Load healing tracker in this disk
    	tracker, err := loadHealingTracker(ctx, disk)
    	if err != nil {
    		// A healing tracker may be deleted if another disk in the
    		// same erasure set with same healing-id successfully finished
    		// healing.
    		if errors.Is(err, errFileNotFound) {
    			return nil
    		}
    		healingLogIf(ctx, fmt.Errorf("Unable to load healing tracker on '%s': %w, re-initializing..", disk, err))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    	// time-duration to keep heal sequence state after it
    	// completes.
    	keepHealSeqStateDuration = time.Minute * 10
    
    	// nopHeal is a no operating healing action to
    	// wait for the current healing operation to finish
    	nopHeal = ""
    )
    
    var (
    	errHealIdleTimeout   = errors.New("healing results were not consumed for too long")
    	errHealStopSignalled = errors.New("heal stop signaled")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			}
    
    			diskID, err := s.GetDiskID()
    			// Healing is 'true' when
    			// - if we found an unformatted disk (no 'format.json')
    			// - if we found healing tracker 'healing.bin'
    			dcinfo.Healing = errors.Is(err, errUnformattedDisk)
    			if !dcinfo.Healing {
    				if hi := s.Healing(); hi != nil && !hi.Finished {
    					dcinfo.Healing = true
    				}
    			}
    
    			dcinfo.ID = diskID
    			return dcinfo, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    		skipHeal.Store(true)
    	}
    
    	// Check if we should do healing at all.
    	s.shouldHeal = func() bool {
    		if skipHeal.Load() {
    			return false
    		}
    		if s.healObjectSelect == 0 {
    			return false
    		}
    		if di, _ := drive.DiskInfo(ctx, DiskInfoOptions{}); di.Healing {
    			skipHeal.Store(true)
    			return false
    		}
    		return true
    	}
    
    	// Enable healing in XL mode.
    	if globalIsErasure && !cache.Info.SkipHealing {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    							VersionID:  fi.VersionID,
    							Queued:     time.Now(),
    							SetIndex:   er.setIndex,
    							PoolIndex:  er.poolIndex,
    							BitrotScan: errors.Is(err, errFileCorrupt),
    						})
    					})
    					// Healing is triggered and we have written
    					// successfully the content to client for
    					// the specific part, we should `nil` this error
    					// and proceed forward, instead of throwing errors.
    					err = nil
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	return p.storage.Endpoint()
    }
    
    func (p *xlStorageDiskIDCheck) Hostname() string {
    	return p.storage.Hostname()
    }
    
    func (p *xlStorageDiskIDCheck) Healing() *healingTracker {
    	return p.storage.Healing()
    }
    
    func (p *xlStorageDiskIDCheck) NSScanner(ctx context.Context, cache dataUsageCache, updates chan<- dataUsageEntry, scanMode madmin.HealScanMode, _ func() bool) (dataUsageCache, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    	Error      string // carries the error over the network
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top