Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BackendInfo (0.41 sec)

  1. cmd/global-heal.go

    	}
    	sort.Slice(status.Sets, func(i, j int) bool {
    		return status.Sets[i].ID < status.Sets[j].ID
    	})
    
    	backendInfo := o.BackendInfo()
    	status.SCParity = make(map[string]int)
    	status.SCParity[storageclass.STANDARD] = backendInfo.StandardSCParity
    	status.SCParity[storageclass.RRS] = backendInfo.RRSCParity
    
    	return status, true
    }
    
    // healErasureSet lists and heals all objects in a specific erasure set
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. cmd/object-api-interface.go

    	// Storage operations.
    	Shutdown(context.Context) error
    	NSScanner(ctx context.Context, updates chan<- DataUsageInfo, wantCycle uint32, scanMode madmin.HealScanMode) error
    	BackendInfo() madmin.BackendInfo
    	Legacy() bool // Only returns true for deployments which use CRCMOD as its object distribution algorithm.
    	StorageInfo(ctx context.Context, metrics bool) StorageInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    		return pi, errInvalidArgument
    	}
    	if idx+1 > len(z.serverPools) {
    		return pi, errInvalidArgument
    	}
    
    	info := z.serverPools[idx].StorageInfo(context.Background())
    	info.Backend = z.BackendInfo()
    
    	usableTotal := int64(GetTotalUsableCapacity(info.Disks, info))
    	usableFree := int64(GetTotalUsableCapacityFree(info.Disks, info))
    	return poolSpaceInfo{
    		Total: usableTotal,
    		Free:  usableFree,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  4. cmd/notification.go

    			replies[idx] = info
    		}(client, i)
    	}
    	wg.Wait()
    
    	// Add local to this server.
    	replies = append(replies, objLayer.LocalStorageInfo(GlobalContext, metrics))
    
    	storageInfo.Backend = objLayer.BackendInfo()
    	for _, sinfo := range replies {
    		storageInfo.Disks = append(storageInfo.Disks, sinfo.Disks...)
    	}
    
    	return storageInfo
    }
    
    // ServerInfo - calls ServerInfo RPC call on all peers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		printStartupMessage(getAPIEndpoints(), err)
    
    		// Print a warning at the end of the startup banner so it is more noticeable
    		if newObject.BackendInfo().StandardSCParity == 0 {
    			warnings = append(warnings, color.YellowBold("- The standard parity is set to 0. This can lead to data loss."))
    		}
    		objAPI := newObjectLayerFn()
    		if objAPI != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (2)
Back to top