Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for HEALED (0.04 seconds)

  1. 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++
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  2. 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  3. 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(
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. cmd/data-usage-cache.go

    	Entry  dataUsageEntry
    }
    
    type dataUsageCacheInfo struct {
    	// Name of the bucket. Also root element.
    	Name       string
    	NextCycle  uint32
    	LastUpdate time.Time
    	// indicates if the disk is being healed and scanner
    	// should skip healing the disk
    	SkipHealing bool
    
    	// Active lifecycle, if any on the bucket
    	lifeCycle *lifecycle.Lifecycle `msg:"-"`
    
    	// optional updates channel.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  5. cmd/erasure-server-pool.go

    	return r, nil
    }
    
    func (z *erasureServerPools) HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error) {
    	// .metadata.bin healing is not needed here, it is automatically healed via read() call.
    	return z.s3Peer.HealBucket(ctx, bucket, opts)
    }
    
    // Walk a bucket, optionally prefix recursively, until we have returned
    // all the contents of the provided bucket+prefix.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  6. cmd/erasure-object.go

    				errFileCorrupt,
    			) {
    				missingBlocks++
    			}
    		}
    
    		// if missing metadata can be reconstructed, attempt to reconstruct.
    		// additionally do not heal delete markers inline, let them be
    		// healed upon regular heal process.
    		if missingBlocks > 0 && missingBlocks < fi.Erasure.DataBlocks {
    			globalMRFState.addPartialOp(PartialOperation{
    				Bucket:    fi.Volume,
    				Object:    fi.Name,
    				VersionID: fi.VersionID,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  7. cmd/metrics-v2.go

    	}
    }
    
    func getHealObjectsHealTotalMD() MetricDescription {
    	return MetricDescription{
    		Namespace: healMetricNamespace,
    		Subsystem: objectsSubsystem,
    		Name:      healTotal,
    		Help:      "Objects healed since server uptime",
    		Type:      counterMetric,
    	}
    }
    
    func getHealObjectsFailTotalMD() MetricDescription {
    	return MetricDescription{
    		Namespace: healMetricNamespace,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  8. cmd/xl-storage.go

    			// Any failed rename calls un-roll previous transaction.
    			s.deleteFile(dstVolumeDir, legacyDataPath, true, false)
    		}
    		// if its a partial rename() do not attempt to delete recursively.
    		// this can be healed since all parts are available.
    		s.deleteFile(dstVolumeDir, dstDataPath, false, false)
    		return res, osErrToFileErr(err)
    	}
    
    	if srcVolume != minioMetaMultipartBucket {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
Back to Top