Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Retrying (0.07 sec)

  1. internal/store/store.go

    				break
    			}
    
    			logger(
    				context.Background(),
    				fmt.Errorf("unable to send log entry to '%s' err '%w'", target.Name(), err),
    				target.Name(),
    			)
    
    			select {
    			// Retrying after 3secs back-off
    			case <-retryTicker.C:
    			case <-doneCh:
    				return false
    			}
    		}
    		return true
    	}
    
    	for {
    		select {
    		case key, ok := <-keyCh:
    			if !ok {
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. cmd/mrf.go

    					continue
    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.Queued) < time.Second {
    				// let recently failed networks to reconnect
    				// making MRF wait for 1s before retrying,
    				// i.e 4 reconnect attempts.
    				time.Sleep(time.Second)
    			}
    
    			// wait on timer per heal
    			wait := healSleeper.Timer(context.Background())
    
    			scan := madmin.HealNormalScan
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		}
    
    		cancel()
    		if ri.Failed {
    			ri.ObjectsFailed = 0
    			ri.Bucket = ""
    			ri.Object = ""
    			ri.Objects = 0
    			ri.BytesFailed = 0
    			ri.BytesTransferred = 0
    			retry = true // indicate we are retrying..
    			time.Sleep(delay + time.Duration(rnd.Float64()*float64(delay)))
    			continue
    		}
    
    		break
    	}
    
    	return nil
    }
    
    // toObjectInfo converts minio.ObjectInfo to ObjectInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                retry = true;
                            } else {
                                handleChecksumFailure(checksumPolicy, e.getMessage(), e.getCause());
                            }
                        } catch (ResourceDoesNotExistException sha1TryException) {
                            logger.debug("SHA1 not found, trying MD5: " + sha1TryException.getMessage());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. cmd/background-newdisks-heal-ops.go

    	if tracker.ItemsFailed > 0 && tracker.RetryAttempts < 4 {
    		tracker.RetryAttempts++
    
    		healingLogEvent(ctx, "Healing of drive '%s' is incomplete, retrying %s time (healed: %d, skipped: %d, failed: %d).", disk,
    			humanize.Ordinal(int(tracker.RetryAttempts)), tracker.ItemsHealed, tracker.ItemsSkipped, tracker.ItemsFailed)
    
    		tracker.resetHealing()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    							z.doDecommissionInRoutine(ctx, idx)
    						}
    						return
    					}
    					if configRetriableErrors(err) {
    						decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pools %v: %w: retrying..", pools, err))
    						time.Sleep(time.Second + time.Duration(r.Float64()*float64(5*time.Second)))
    						continue
    					}
    					decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pool %v: %w", pools, err))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. cmd/iam.go

    			if configRetriableErrors(err) {
    				retryInterval := time.Duration(r.Float64() * float64(time.Second))
    				logger.Info("Waiting for all MinIO IAM sub-system to be initialized.. possible cause (%v) (retrying in %s)", err, retryInterval)
    				time.Sleep(retryInterval)
    				continue
    			}
    			iamLogIf(ctx, fmt.Errorf("IAM sub-system is partially initialized, unable to write the IAM format: %w", err), logger.WarningKind)
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  8. cmd/server-main.go

    				logger.Info(result.String())
    				break
    			}
    			d := time.Duration(r.Float64() * float64(time.Second))
    			logger.Info("Waiting for quorum READ healthcheck to succeed retrying in %s.. possible cause unhealthy sets", d)
    			logger.Info(result.String())
    			time.Sleep(d)
    			result = newObject.Health(context.Background(), HealthOptions{NoLogging: true})
    		}
    	})
    
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  9. docs/debugging/xl-meta/main.go

    										combineFilled[i] = 1
    									}
    								}
    								combineFilledBlocks[block] = combineFilled
    								combineSharedBlocks[block] = combineShared
    								fmt.Println("Retrying with merged data")
    								if addedFiles >= len(files[partIdx]) {
    									attempt++
    									goto nextAttempt
    								}
    							}
    						}
    					}
    				}
    				if m.blockOffset != len(combined) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		}
    		conn, err := c.dial(c.ctx, c.Remote)
    		c.connMu.Lock()
    		c.debugOutConn = conn
    		c.connMu.Unlock()
    		retry := func(err error) {
    			if debugPrint {
    				fmt.Printf("%v Connecting to %v: %v. Retrying.\n", c.Local, c.Remote, err)
    			}
    			sleep := defaultDialTimeout + time.Duration(rng.Int63n(int64(defaultDialTimeout)))
    			next := dialStarted.Add(sleep / 2)
    			sleep = time.Until(next).Round(time.Millisecond)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top