Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for HEALED (0.03 sec)

  1. cmd/background-newdisks-heal-ops.go

    		healingLogEvent(ctx, "Healing of drive '%s' is incomplete, retried %d times (healed: %d, skipped: %d, failed: %d).", disk,
    			tracker.RetryAttempts, tracker.ItemsHealed, tracker.ItemsSkipped, tracker.ItemsFailed)
    	} else {
    		if tracker.RetryAttempts > 0 {
    			healingLogEvent(ctx, "Healing of drive '%s' is complete, retried %d times (healed: %d, skipped: %d).", disk,
    				tracker.RetryAttempts-1, tracker.ItemsHealed, tracker.ItemsSkipped)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    		t.Fatalf("part.1 not healed correctly")
    	}
    
    	partReconstructed, err = secondDisk.ReadAll(t.Context(), bucket, pathJoin(object, fi.DataDir, "part.1"))
    	if err != nil {
    		t.Fatalf("Failed to read a file - %v", err)
    	}
    
    	if !reflect.DeepEqual(part1Disk2Origin, partReconstructed) {
    		t.Fatalf("part.1 not healed correctly")
    	}
    }
    
    // Tests healing of object.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  3. cmd/erasure.go

    			}
    		}()
    	}
    	wg.Wait()
    
    	var scanningDisks, healingDisks []StorageAPI
    	var scanningInfos, healingInfos []DiskInfo
    
    	for i, info := range infos {
    		// Check if one of the drives in the set is being healed.
    		// this information is used by scanner to skip healing
    		// this erasure set while it calculates the usage.
    		if info.Error != "" || disks[i] == nil {
    			continue
    		}
    		if info.Healing {
    			healing++
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    	sync.RWMutex
    
    	// map of heal path to heal sequence
    	healSeqMap map[string]*healSequence // Indexed by endpoint
    	// keep track of the healing status of disks in the memory
    	//   false: the disk needs to be healed but no healing routine is started
    	//    true: the disk is currently healing
    	healLocalDisks map[Endpoint]bool
    	healStatus     map[string]healingTracker // Indexed by disk ID
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    )
    
    // SetHealing marks object (version) as being healed.
    // Note: this is to be used only from healObject
    func (fi *FileInfo) SetHealing() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string)
    	}
    	fi.Metadata[xMinIOHealing] = "true"
    }
    
    // Healing returns true if object is being healed (i.e fi is being passed down
    // from healObject)
    func (fi FileInfo) Healing() bool {
    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. cmd/prepare-storage.go

    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				(len(endpoints)/2)+1, getElapsedTime())
    		case errors.Is(err, errErasureV3ThisEmpty):
    			// need to wait for this error to be healed, so continue.
    		default:
    			// For all other unhandled errors we exit and fail.
    			return nil, nil, err
    		}
    
    		select {
    		case <-ticker.C:
    		case <-globalOSSignalCh:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  7. cmd/metrics.go

    			float64(v), string(k),
    		)
    	}
    	for k, v := range bgSeq.getHealedItemsMap() {
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(healMetricsNamespace, "objects", "healed"),
    				"Objects healed since uptime",
    				[]string{"type"}, nil),
    			prometheus.CounterValue,
    			float64(v), string(k),
    		)
    	}
    	for k, v := range bgSeq.getHealFailedItemsMap() {
    		ch <- prometheus.MustNewConstMetric(
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    			healingLogIf(ctx, tracker.update(ctx))
    		}
    	}
    	if retErr != nil {
    		return retErr
    	}
    
    	// Last sanity check
    	if len(tracker.QueuedBuckets) > 0 {
    		return fmt.Errorf("not all buckets were healed: %v", tracker.QueuedBuckets)
    	}
    
    	return nil
    }
    
    func healBucket(bucket string, scan madmin.HealScanMode) error {
    	// Get background heal sequence to send elements to heal
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common_test.go

    		if _, ok := diskFailures[diskIndex]; ok {
    			if !partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    				t.Errorf("Disk expected to be healed, driveIndex: %d", diskIndex)
    			}
    		} else {
    			if partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    				t.Errorf("Disk not expected to be healed, driveIndex: %d", diskIndex)
    			}
    		}
    	}
    }
    
    func TestCommonParities(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-ldap.sh

    if [ "${val}" != "val2" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    
    # Test if bucket created/deleted when minio1 is down healed
    diff -q <(./mc ls minio1) <(./mc ls minio2) 1>/dev/null
    if [ $? -ne 0 ]; then
    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top