Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CheckAbandonedParts (0.29 sec)

  1. cmd/erasure-healing_test.go

    	// was created.
    	err = removeAll(pathJoin(disk.String(), bucket, object))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Checking abandoned parts should do nothing
    	err = er.checkAbandonedParts(ctx, bucket, object, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	return s.getHashedSet(object).RestoreTransitionedObject(ctx, bucket, object, opts)
    }
    
    // CheckAbandonedParts - check object for abandoned parts.
    func (s *erasureSets) CheckAbandonedParts(ctx context.Context, bucket, object string, opts madmin.HealOpts) error {
    	return s.getHashedSet(object).checkAbandonedParts(ctx, bucket, object, opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. cmd/object-api-interface.go

    	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
    	Health(ctx context.Context, opts HealthOptions) HealthResult
    
    	// Metadata operations
    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/erasure-server-pool.go

    	return z.serverPools[idx].RestoreTransitionedObject(ctx, bucket, object, opts)
    }
    
    func (z *erasureServerPools) CheckAbandonedParts(ctx context.Context, bucket, object string, opts madmin.HealOpts) error {
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    		return z.serverPools[0].CheckAbandonedParts(ctx, bucket, object, opts)
    	}
    	errs := make([]error, len(z.serverPools))
    	var wg sync.WaitGroup
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    			}
    		}
    	}
    
    	return result, nil
    }
    
    // checkAbandonedParts will check if an object has abandoned parts,
    // meaning data-dirs or inlined data that are no longer referenced by the xl.meta
    // Errors are generally ignored by this function.
    func (er *erasureObjects) checkAbandonedParts(ctx context.Context, bucket string, object string, opts madmin.HealOpts) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    			size = i.applyHealing(ctx, o, oi)
    			done()
    
    			if healDeleteDangling {
    				done := globalScannerMetrics.time(scannerMetricCleanAbandoned)
    				err := o.CheckAbandonedParts(ctx, i.bucket, i.objectPath(), madmin.HealOpts{Remove: healDeleteDangling})
    				done()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top