Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for batchLogIf (0.1 sec)

  1. cmd/batch-handlers.go

    				batchLogIf(j.ctx, err)
    				t.Reset(randomWait())
    				continue
    			}
    			for result := range results {
    				if result.Err != nil {
    					batchLogIf(j.ctx, result.Err)
    					continue
    				}
    				ri := &batchJobInfo{}
    				if err := ri.loadByPath(ctx, j.objLayer, result.Item.Name); err != nil {
    					batchLogIf(ctx, err)
    					continue
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    	ri.Failed = failed || ri.ObjectsFailed > 0
    	globalBatchJobsMetrics.save(job.ID, ri)
    	// persist in-memory state to disk.
    	batchLogIf(ctx, ri.updateAfter(ctx, api, 0, job))
    
    	if err := r.Notify(ctx, ri); err != nil {
    		batchLogIf(ctx, fmt.Errorf("unable to notify %v", err))
    	}
    
    	cancel()
    	return nil
    }
    
    //msgp:ignore batchKeyRotationJobError
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    						DeletePrefix:       true,
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    					})
    					if err != nil {
    						stopFn(exp, err)
    						batchLogIf(ctx, fmt.Errorf("Failed to expire %s/%s due to %v (attempts=%d)", exp.Bucket, exp.Name, err, attempts))
    					} else {
    						stopFn(exp, err)
    						success = true
    						break
    					}
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. cmd/logging.go

    	logger.Event(ctx, "healing", msg, args...)
    }
    
    func healingLogOnceIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "healing", err, errKind...)
    }
    
    func batchLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "batch", err, errKind...)
    }
    
    func batchLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 18:49:48 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top