Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for queueHealTask (0.18 sec)

  1. cmd/admin-heal-ops.go

    			// Eventually the traversal go-routine closes
    			// the channel and returns, so this go-routine
    			// itself will not leak.
    			<-h.traverseAndHealDoneCh
    		}()
    	}
    }
    
    func (h *healSequence) queueHealTask(source healSource, healType madmin.HealItemType) error {
    	// Send heal request
    	task := healTask{
    		bucket:    source.bucket,
    		object:    source.object,
    		versionID: source.versionID,
    		opts:      h.settings,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  2. cmd/global-heal.go

    func healBucket(bucket string, scan madmin.HealScanMode) error {
    	// Get background heal sequence to send elements to heal
    	bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if ok {
    		return bgSeq.queueHealTask(healSource{bucket: bucket}, madmin.HealItemBucket)
    	}
    	return nil
    }
    
    // healObject sends the given object/version to the background healing workers
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. cmd/data-scanner.go

    			if bucket != resolver.bucket {
    				// Bucket might be missing as well with abandoned children.
    				// make sure it is created first otherwise healing won't proceed
    				// for objects.
    				bgSeq.queueHealTask(healSource{
    					bucket: bucket,
    				}, madmin.HealItemBucket)
    			}
    
    			resolver.bucket = bucket
    
    			foundObjs := false
    			ctx, cancel := context.WithCancel(ctx)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
Back to top