Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for newDisks (0.04 sec)

  1. cmd/background-newdisks-heal-ops.go

    Klaus Post <******@****.***> 1756435188 +0200
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1618853442 -0700
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops_gen.go

    Anis Eleuch <******@****.***> 1724168569 +0100
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. cmd/erasure-common.go

    				// - Do not consume disks which are being healed
    				//
    				// - Future: skip busy disks
    				return
    			}
    
    			mu.Lock()
    			newDisks = append(newDisks, disks[i])
    			mu.Unlock()
    		}()
    	}
    	wg.Wait()
    	return newDisks
    }
    
    func (er erasureObjects) getOnlineLocalDisks() (newDisks []StorageAPI) {
    	disks := er.getOnlineDisks()
    
    	// Based on the random shuffling return back randomized disks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. cmd/erasure.go

    	/// Then add healing disks.
    	newDisks = append(newDisks, healingDisks...)
    	newInfos = append(newInfos, healingInfos...)
    
    	return newDisks, newInfos, healing
    }
    
    func (er erasureObjects) getOnlineDisksWithHealing(inclHealing bool) ([]StorageAPI, bool) {
    	newDisks, _, healing := er.getOnlineDisksWithHealingAndInfo(inclHealing)
    	return newDisks, healing > 0
    }
    
    // Clean-up previously deleted objects. from .minio.sys/tmp/.trash/
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    	commonMutations := calcCommonCounter(infos, readQuorum)
    	for i, info := range infos {
    		mutations := info.Metrics.TotalDeletes + info.Metrics.TotalWrites
    		if mutations >= commonMutations {
    			newDisks = append(newDisks, disks[i])
    			newInfos = append(newInfos, infos[i])
    		}
    	}
    
    	return newDisks, newInfos
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils.go

    		bugLogIf(GlobalContext, errors.New("unexpected drives/errors slice length"))
    		return nil
    	}
    	newDisks := make([]StorageAPI, len(disks))
    	for index := range errs {
    		if errs[index] == nil {
    			newDisks[index] = disks[index]
    		} else {
    			newDisks[index] = nil
    		}
    	}
    	return newDisks
    }
    
    // Errors specifically generated by calculatePartSizeFromIdx function.
    var (
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    				askDisks := getListQuorum(opts.AskDisks, set.setDriveCount)
    				if askDisks == -1 {
    					newDisks := getQuorumDisks(disks, infos, (len(disks)+1)/2)
    					if newDisks != nil {
    						// If we found disks signature in quorum, we proceed to list
    						// from a single drive, shuffling of the drives is subsequently.
    						disks = newDisks
    						askDisks = 1
    					} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  9. cmd/erasure-healing_test.go

    		Versioned: true,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	setDisks := func(newDisks ...StorageAPI) {
    		objLayer.(*erasureServerPools).serverPools[0].erasureDisksMu.Lock()
    		copy(disks, newDisks)
    		objLayer.(*erasureServerPools).serverPools[0].erasureDisksMu.Unlock()
    	}
    	getDisk := func(n int) StorageAPI {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
Back to top