Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getQuorumDisks (0.11 sec)

  1. cmd/metacache-set.go

    		if mutations >= commonMutations {
    			newDisks = append(newDisks, disks[i])
    			newInfos = append(newInfos, infos[i])
    		}
    	}
    
    	return newDisks, newInfos
    }
    
    func getQuorumDisks(disks []StorageAPI, infos []DiskInfo, readQuorum int) (newDisks []StorageAPI) {
    	newDisks, _ = getQuorumDiskInfos(disks, infos, readQuorum)
    	return newDisks
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    					}
    					select {
    					case listOut <- e:
    					case <-ctx.Done():
    					}
    				}
    
    				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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top