Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 253 for stopFn (1.94 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. cmd/batch-handlers.go

    			go func() {
    				defer wk.Give()
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricReplication, job.ID, attempts)
    				success := true
    				if err := r.ReplicateFromSource(ctx, api, core, oi, retry); err != nil {
    					// object must be deleted concurrently, allow these failures but do not count them
    					if isErrVersionNotFound(err) || isErrObjectNotFound(err) {
    						return
    					}
    					stopFn(oi, err)
    					batchLogIf(ctx, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	atomic.AddInt32(&s.scanning, 1)
    	defer atomic.AddInt32(&s.scanning, -1)
    
    	var err error
    	stopFn := globalScannerMetrics.log(scannerMetricScanBucketDrive, s.drivePath, cache.Info.Name)
    	defer func() {
    		res := make(map[string]string)
    		if err != nil {
    			res["err"] = err.Error()
    		}
    		stopFn(res)
    	}()
    
    	// Updates must be closed before we return.
    	defer xioutil.SafeClose(updates)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top