Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GenerateNoRetriesPermittedMsg (0.42 sec)

  1. pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go

    			expBackoff.durationBeforeRetry = maxDurationBeforeRetry
    		}
    	}
    
    	expBackoff.lastError = *err
    	expBackoff.lastErrorTime = time.Now()
    }
    
    func (expBackoff *ExponentialBackoff) GenerateNoRetriesPermittedMsg(operationName string) string {
    	return fmt.Sprintf("Operation for %q failed. No retries permitted until %v (durationBeforeRetry %v). Error: %v",
    		operationName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 19 03:30:46 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. pkg/util/goroutinemap/goroutinemap.go

    		existingOp.expBackoff.Update(err)
    		existingOp.operationPending = false
    		grm.operations[operationName] = existingOp
    
    		// Log error
    		klog.Errorf("%v",
    			existingOp.expBackoff.GenerateNoRetriesPermittedMsg(operationName))
    	}
    }
    
    func (grm *goRoutineMap) IsOperationPending(operationName string) bool {
    	grm.lock.RLock()
    	defer grm.lock.RUnlock()
    	existingOp, exists := grm.operations[operationName]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  3. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    	}
    
    	grm.operations[existingOpIndex].expBackoff.Update(err)
    	grm.operations[existingOpIndex].operationPending = false
    
    	// Log error
    	klog.Errorf("%v", grm.operations[existingOpIndex].expBackoff.
    		GenerateNoRetriesPermittedMsg(fmt.Sprintf("%+v", key)))
    }
    
    func (grm *nestedPendingOperations) Wait() {
    	grm.lock.Lock()
    	defer grm.lock.Unlock()
    
    	for len(grm.operations) > 0 {
    		grm.cond.Wait()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
Back to top