Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for stopFn (0.06 sec)

  1. cmd/ftp-server-driver.go

    	stopFn := globalFtpMetrics.log(ctx, fromObjPath, toObjPath)
    	defer stopFn(0, err)
    
    	return NotImplemented{}
    }
    
    // MakeDir implements ftpDriver
    func (driver *ftpDriver) MakeDir(ctx *ftp.Context, objPath string) (err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	bucket, prefix := path2BucketObject(objPath)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    						if isErrObjectNotFound(err) || isErrVersionNotFound(err) || isDataMovementOverWriteErr(err) {
    							ignore = true
    							stopFn(0, nil)
    							break
    						}
    						failure = true
    						rebalanceLogIf(ctx, err)
    						stopFn(version.Size, err)
    						continue
    					}
    
    					stopFn(version.Size, nil)
    					failure = false
    					break
    				}
    				if ignore {
    					continue
    				}
    				if failure {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    					// Add non-compacted empty entry.
    					f.updateCache.replaceHashed(h, &thisHash, dataUsageEntry{})
    				}
    			}
    			f.updateCurrentPath(folder.name)
    			stopFn := globalScannerMetrics.log(scannerMetricScanFolder, f.root, folder.name)
    			scanFolder(folder)
    			stopFn(map[string]string{"type": "new"})
    
    			// Add new folders if this is new and we don't have existing.
    			if !into.Compacted {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    			ContentType:          mimedb.TypeByExtension(path.Ext(object)),
    			DisableContentSha256: true,
    		})
    		stopFn(oi.Size, err)
    		pr.CloseWithError(err)
    		wa.wg.Done()
    	}()
    	return wa, nil
    }
    
    func (f *sftpDriver) Filecmd(r *sftp.Request) (err error) {
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    						failure = true
    						decomLogIf(ctx, err)
    						stopFn(version.Size, err)
    						continue
    					}
    					if err = z.decommissionObject(ctx, idx, bi.Name, gr); err != nil {
    						if isErrObjectNotFound(err) || isErrVersionNotFound(err) || isDataMovementOverWriteErr(err) {
    							ignore = true
    							stopFn(0, nil)
    							break
    						}
    						stopFn(version.Size, err)
    						failure = true
    						decomLogIf(ctx, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. cmd/utils.go

    	return p.records
    }
    
    // Stop the currently running benchmark.
    func (p profilerWrapper) Stop() ([]byte, error) {
    	return p.stopFn()
    }
    
    // Extension returns the extension without dot prefix.
    func (p profilerWrapper) Extension() string {
    	return p.ext
    }
    
    // Returns current profile data, returns error if there is no active
    // profiling in progress. Stops an active profile.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  7. cmd/batch-expire.go

    					default:
    					}
    					stopFn := globalBatchJobsMetrics.trace(batchJobMetricExpire, ri.JobID, attempts)
    					_, err := api.DeleteObject(ctx, exp.Bucket, encodeDirObject(exp.Name), ObjectOptions{
    						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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. cmd/batch-rotate.go

    		}
    		wk.Take()
    		go func() {
    			defer wk.Give()
    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricKeyRotation, job.ID, attempts)
    				success := true
    				if err := r.KeyRotate(ctx, api, result); err != nil {
    					stopFn(result, err)
    					batchLogIf(ctx, err)
    					success = false
    					if attempts >= retryAttempts {
    						auditOptions := AuditLogOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. src/bufio/scan.go

    //
    // Scanning stops if the function returns an error, in which case some of
    // the input may be discarded. If that error is [ErrFinalToken], scanning
    // stops with no error. A non-nil token delivered with [ErrFinalToken]
    // will be the last token, and a nil token with [ErrFinalToken]
    // immediately stops the scanning.
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. internal/event/target/elasticsearch.go

    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *ElasticsearchTarget) Close() error {
    	close(target.quitCh)
    	if target.client != nil {
    		// Stops the background processes that the client is running.
    		target.client.stop()
    	}
    	return nil
    }
    
    func (target *ElasticsearchTarget) checkAndInitClient(ctx context.Context) error {
    	if target.client != nil {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top