Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for offlineDisks (0.07 sec)

  1. cmd/erasure.go

    	}
    
    	return
    }
    
    func getOnlineOfflineDisksStats(disksInfo []madmin.Disk) (onlineDisks, offlineDisks madmin.BackendDisks) {
    	onlineDisks = make(madmin.BackendDisks)
    	offlineDisks = make(madmin.BackendDisks)
    
    	for _, disk := range disksInfo {
    		ep := disk.Endpoint
    		if _, ok := offlineDisks[ep]; !ok {
    			offlineDisks[ep] = 0
    		}
    		if _, ok := onlineDisks[ep]; !ok {
    			onlineDisks[ep] = 0
    		}
    	}
    
    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/metrics.go

    	if objLayer == nil {
    		return
    	}
    
    	server := getLocalServerProperty(globalEndpoints, &http.Request{
    		Host: globalLocalNodeName,
    	}, true)
    
    	onlineDisks, offlineDisks := getOnlineOfflineDisksStats(server.Disks)
    	totalDisks := offlineDisks.Merge(onlineDisks)
    
    	// Report total capacity
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "capacity_raw", "total"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/notification.go

    func getOfflineDisks(offlineHost string, endpoints EndpointServerPools) []madmin.Disk {
    	var offlineDisks []madmin.Disk
    	for _, pool := range endpoints {
    		for _, ep := range pool.Endpoints {
    			if offlineHost == "" && ep.IsLocal || offlineHost == ep.Host {
    				offlineDisks = append(offlineDisks, madmin.Disk{
    					Endpoint:  ep.String(),
    					State:     string(madmin.ItemOffline),
    					PoolIndex: ep.PoolIdx,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    		for _, s := range servers {
    			allDisks = append(allDisks, s.Disks...)
    		}
    		onlineDisks, offlineDisks := getOnlineOfflineDisksStats(allDisks)
    
    		backend = madmin.ErasureBackend{
    			Type:             madmin.ErasureType,
    			OnlineDisks:      onlineDisks.Sum(),
    			OfflineDisks:     offlineDisks.Sum(),
    			StandardSCParity: backendInfo.StandardSCParity,
    			RRSCParity:       backendInfo.RRSCParity,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. guava/pom.xml

              <detectJavaApiLink>false</detectJavaApiLink>
              <offlineLinks>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/pom.xml

              <detectJavaApiLink>false</detectJavaApiLink>
              <offlineLinks>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    			readers := make([]io.ReaderAt, len(latestDisks))
    			prefer := make([]bool, len(latestDisks))
    			checksumAlgo := erasureInfo.GetChecksumInfo(partNumber).Algorithm
    			for i, disk := range latestDisks {
    				if disk == OfflineDisk {
    					continue
    				}
    				checksumInfo := copyPartsMetadata[i].Erasure.GetChecksumInfo(partNumber)
    				partPath := pathJoin(object, srcDataDir, fmt.Sprintf("part.%d", partNumber))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common.go

    	}
    
    	metaErrs := make([]error, len(errs))
    
    	for i, onlineDisk := range onlineDisks {
    		if errs[i] != nil {
    			metaErrs[i] = errs[i]
    			continue
    		}
    		if onlineDisk == OfflineDisk {
    			metaErrs[i] = errDiskNotFound
    			continue
    		}
    
    		meta := partsMetadata[i]
    		corrupted := false
    		if filterByETag {
    			corrupted = meta.Metadata["etag"] != latestMeta.Metadata["etag"]
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    	s.erasureDisksMu.RLock()
    	defer s.erasureDisksMu.RUnlock()
    
    	for i := 0; i < s.setCount; i++ {
    		for j := 0; j < s.setDriveCount; j++ {
    			disk := s.erasureDisks[i][j]
    			if disk == OfflineDisk {
    				continue
    			}
    			if !disk.IsOnline() {
    				continue
    			}
    			diskMap[disk.Endpoint()] = disk
    		}
    	}
    	return diskMap
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  10. cmd/erasure-server-pool.go

    		idMap[id] = struct{}{}
    	}
    	res := make([]StorageAPI, 0, len(idMap))
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    					continue
    				}
    				if id, _ := disk.GetDiskID(); id != "" {
    					if _, ok := idMap[id]; ok {
    						res = append(res, disk)
    					}
    				}
    			}
    		}
    	}
    	return res
    }
    
    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