Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getLocalDisks (0.07 sec)

  1. cmd/erasure.go

    }
    
    // Clean-up previously deleted objects. from .minio.sys/tmp/.trash/
    func (er erasureObjects) cleanupDeletedObjects(ctx context.Context) {
    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk == nil {
    			continue
    		}
    		wg.Add(1)
    		go func(disk StorageAPI) {
    			defer wg.Done()
    			drivePath := disk.Endpoint().Path
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    func (er erasureObjects) cleanupStaleUploads(ctx context.Context) {
    	// run multiple cleanup's local to this server.
    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk != nil {
    			wg.Add(1)
    			go func(disk StorageAPI) {
    				defer wg.Done()
    				er.cleanupStaleUploadsOnDisk(ctx, disk)
    			}(disk)
    		}
    	}
    	wg.Wait()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top