Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for HealObjects (0.07 sec)

  1. cmd/admin-heal-ops.go

    	return func() error {
    		// NOTE: Healing on meta is run regardless
    		// of any bucket being selected, this is to ensure that
    		// meta are always upto date and correct.
    		return objAPI.HealObjects(h.ctx, minioMetaBucket, metaPrefix, h.settings, func(bucket, object, versionID string, scanMode madmin.HealScanMode) error {
    			if h.isQuitting() {
    				return errHealStopSignalled
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if fileInfoPreHeal.NumVersions != 1 {
    		t.Fatalf("Expected versions 1, got %d", fileInfoPreHeal.NumVersions)
    	}
    
    	if err = objLayer.HealObjects(ctx, bucket, "", madmin.HealOpts{Remove: true},
    		func(bucket, object, vid string, scanMode madmin.HealScanMode) error {
    			_, err := objLayer.HealObject(ctx, bucket, object, vid, madmin.HealOpts{ScanMode: scanMode, Remove: true})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error)
    	HealObject(ctx context.Context, bucket, object, versionID string, opts madmin.HealOpts) (madmin.HealResultItem, error)
    	HealObjects(ctx context.Context, bucket, prefix string, opts madmin.HealOpts, fn HealObjectFn) error
    	CheckAbandonedParts(ctx context.Context, bucket, object string, opts madmin.HealOpts) error
    
    	// Returns health of the backend
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    		resolver := metadataResolutionParams{
    			dirQuorum: f.disksQuorum,
    			objQuorum: f.disksQuorum,
    			bucket:    "",
    			strict:    false,
    		}
    
    		healObjectsPrefix := color.Green("healObjects:")
    		for k := range abandonedChildren {
    			if !f.shouldHeal() {
    				break
    			}
    			bucket, prefix := path2BucketObject(k)
    			stopFn := globalScannerMetrics.time(scannerMetricCheckMissing)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	}()
    
    	return nil
    }
    
    // HealObjectFn closure function heals the object.
    type HealObjectFn func(bucket, object, versionID string, scanMode madmin.HealScanMode) error
    
    func (z *erasureServerPools) HealObjects(ctx context.Context, bucket, prefix string, opts madmin.HealOpts, healObjectFn HealObjectFn) error {
    	healEntry := func(bucket string, entry metaCacheEntry, scanMode madmin.HealScanMode) error {
    		if entry.isDir() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top