Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 409 for heal (0.02 sec)

  1. cmd/global-heal.go

    					result = healEntryFailure(uint64(version.Size))
    					if version.VersionID != "" {
    						healingLogIf(ctx, fmt.Errorf("unable to heal object %s/%s (version-id=%s): %w",
    							bucket, version.Name, version.VersionID, err))
    					} else {
    						healingLogIf(ctx, fmt.Errorf("unable to heal object %s/%s: %w",
    							bucket, version.Name, err))
    					}
    				}
    
    				if !send(result) {
    					return
    				}
    			}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  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)
    			closeErrs := closeBitrotWriters(writers)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  6. docs/config/README.md

    drive_workers  (int)       the number of workers per drive to heal a new disk replacement.
    ```
    
    Example: The following settings will increase the heal operation speed by allowing healing operation to run without delay up to `100` concurrent requests, and the maximum delay between each heal operation is set to `300ms`.
    
    ```sh
    ~ mc admin config set alias/ heal max_sleep=300ms max_io=100
    ```
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  7. cmd/mrf.go

    		n, err := rc.Read(data[:])
    		if err != nil {
    			return err
    		}
    		if n != len(data) {
    			return errors.New("heal mrf: no data")
    		}
    		// Read resync meta header
    		switch binary.LittleEndian.Uint16(data[0:2]) {
    		case healMRFMetaFormat:
    		default:
    			return fmt.Errorf("heal mrf: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    		}
    		switch binary.LittleEndian.Uint16(data[2:4]) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. 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(t.Context(), "", bucket, object, "", ReadOptions{ReadData: false, Healing: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    	if i.debug {
    		if oi.VersionID != "" {
    			console.Debugf(applyActionsLogPrefix+" heal checking: %v/%v v(%s)\n", i.bucket, i.objectPath(), oi.VersionID)
    		} else {
    			console.Debugf(applyActionsLogPrefix+" heal checking: %v/%v\n", i.bucket, i.objectPath())
    		}
    	}
    	scanMode := madmin.HealNormalScan
    	if i.heal.bitrot {
    		scanMode = madmin.HealDeepScan
    	}
    	healOpts := madmin.HealOpts{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  10. docs/bucket/lifecycle/setup_ilm_transition.sh

    until $(./mc stat sitea/bucket/README.md --json | jq -r '.metadata."X-Amz-Storage-Class"' | grep -q WARM-TIER); do
    	echo "waiting until the object is tiered to run heal"
    	sleep 1s
    done
    ./mc stat sitea/bucket/README.md
    
    success=$(./mc admin heal -r sitea/bucket/README.md --json --force | jq -r 'select((.name == "bucket/README.md") and (.after.color == "green")) | .after.color == "green"')
    if [ "${success}" != "true" ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top