Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getLocalBackgroundHealStatus (0.2 sec)

  1. cmd/global-heal.go

    		healedItemsMap:     make(map[madmin.HealItemType]int64),
    		healFailedItemsMap: make(map[string]int64),
    	}
    }
    
    // getLocalBackgroundHealStatus will return the heal status of the local node
    func getLocalBackgroundHealStatus(ctx context.Context, o ObjectLayer) (madmin.BgHealState, bool) {
    	if globalBackgroundHealState == nil {
    		return madmin.BgHealState{}, false
    	}
    
    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/admin-handlers.go

    // If no ObjectLayer is provided no set status is returned.
    func getAggregatedBackgroundHealState(ctx context.Context, o ObjectLayer) (madmin.BgHealState, error) {
    	// Get local heal status first
    	bgHealStates, ok := getLocalBackgroundHealStatus(ctx, o)
    	if !ok {
    		return bgHealStates, errServerNotInitialized
    	}
    
    	if globalIsDistErasure {
    		// Get heal status from other peers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top