Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for askDisks (0.14 sec)

  1. cmd/metacache-set.go

    	disks, infos, _ := er.getOnlineDisksWithHealingAndInfo(true)
    	askDisks := getListQuorum(o.AskDisks, er.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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    						askDisks = getListQuorum("strict", set.setDriveCount)
    					}
    				}
    
    				// Special case: ask all disks if the drive count is 4
    				if set.setDriveCount == 4 || askDisks > len(disks) {
    					askDisks = len(disks) // use all available drives
    				}
    
    				var fallbackDisks []StorageAPI
    				if askDisks > 0 && len(disks) > askDisks {
    					rand.Shuffle(len(disks), func(i, j int) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	Marker       string                   // set to skip until this object
    	LatestOnly   bool                     // returns only latest versions for all matching objects
    	AskDisks     string                   // dictates how many disks are being listed
    	VersionsSort WalkVersionsSortOrder    // sort order for versions of the same object; default: Ascending order in ModTime
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		if err := api.Walk(ctx, r.Source.Bucket, r.Source.Prefix, walkCh, WalkOptions{
    			Marker:   lastObject,
    			Filter:   selectObj,
    			AskDisks: walkQuorum,
    		}); err != nil {
    			cancel()
    			// Do not need to retry if we can't list objects on source.
    			return err
    		}
    
    		prevObj := ""
    
    		skipReplicate := false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top