Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for healingLogOnceIf (0.9 sec)

  1. cmd/logging.go

    	logger.LogIf(ctx, "healing", err, errKind...)
    }
    
    func healingLogEvent(ctx context.Context, msg string, args ...any) {
    	logger.Event(ctx, "healing", msg, args...)
    }
    
    func healingLogOnceIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "healing", err, errKind...)
    }
    
    func batchLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "batch", err, errKind...)
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    			latestMeta.Erasure.Distribution, onlineDisks, bucket, object, versionID)
    		healingLogOnceIf(ctx, err, "heal-object-online-disks")
    		return er.defaultHealResult(latestMeta, storageDisks, storageEndpoints, errs,
    			bucket, object, versionID), err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		Detail: "disk-format",
    	}
    
    	var countNoHeal int
    	for _, pool := range z.serverPools {
    		result, err := pool.HealFormat(ctx, dryRun)
    		if err != nil && !errors.Is(err, errNoHealRequired) {
    			healingLogOnceIf(ctx, err, "erasure-heal-format")
    			continue
    		}
    		// Count errNoHealRequired across all serverPools,
    		// to return appropriate error to the caller
    		if errors.Is(err, errNoHealRequired) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
Back to top