Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for attempted (0.17 sec)

  1. cmd/storage-rest-client.go

    	if !client.IsOnline() {
    		// make sure to check if the disk is offline, since the underlying
    		// value is cached we should attempt to invalidate it if such calls
    		// were attempted. This can lead to false success under certain conditions
    		// - this change attempts to avoid stale information if the underlying
    		// transport is already down.
    		return "", errDiskNotFound
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Attempts":
    			z.Attempts, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Attempts")
    				return
    			}
    		case "Delay":
    			z.Delay, err = dc.ReadDuration()
    			if err != nil {
    				err = msgp.WrapError(err, "Delay")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    const (
    	// StateUnconnected is the initial state of a connection.
    	// When the first message is sent it will attempt to connect.
    	StateUnconnected = iota
    
    	// StateConnecting is the state from StateUnconnected while the connection is attempted to be established.
    	// After this connection will be StateConnected or StateConnectionError.
    	StateConnecting
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/local-locker.go

    	err = nil
    
    	for _, resource := range args.Resources {
    		lri, ok := l.lockMap[resource]
    		if ok && !isWriteLock(lri) {
    			// Unless it is a write lock reject it.
    			err = fmt.Errorf("unlock attempted on a read locked entity: %s", resource)
    			continue
    		}
    		if ok {
    			reply = l.removeEntry(resource, args, &lri) || reply
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. internal/rest/client.go

    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    		sleep := unit * time.Duration(1<<attempt)
    		if sleep > cap {
    			sleep = cap
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep-unit))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils.go

    	ReplicationStatus     replication.StatusType
    	PrevReplicationStatus replication.StatusType
    	VersionPurgeStatus    VersionPurgeStatusType
    	ResyncTimestamp       string
    	ReplicationResynced   bool // true only if resync attempted for this target
    	endpoint              string
    	secure                bool
    	Err                   error // replication error if any
    }
    
    // Empty returns true for a target if arn is empty
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  7. cmd/batch-expire.go

    				// attempt
    				toDel = toDel[:0]
    				for i, err := range errs {
    					if err != nil {
    						stopFn(toDelCopy[i], err)
    						batchLogIf(ctx, fmt.Errorf("Failed to expire %s/%s versionID=%s due to %v (attempts=%d)", ri.Bucket, toDelCopy[i].ObjectName, toDelCopy[i].VersionID, err, attempts))
    						failed++
    						if attempts == retryAttempts { // all retry attempts failed, record failure
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. internal/bucket/lifecycle/lifecycle.go

    )
    
    const (
    	// TransitionComplete marks completed transition
    	TransitionComplete = "complete"
    	// TransitionPending - transition is yet to be attempted
    	TransitionPending = "pending"
    )
    
    // Action represents a delete action or other transition
    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    	}
    
    	// fall back to original distribution based order.
    	return shuffleDisksAndPartsMetadata(disks, metaArr, fi)
    }
    
    // Return shuffled partsMetadata depending on fi.Distribution.
    // additional validation is attempted and invalid metadata is
    // automatically skipped only when fi.ModTime is non-zero
    // indicating that this is called during read-phase
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    			continue
    		}
    		wk.Take()
    		go func() {
    			defer wk.Give()
    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				attempts := attempts
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricKeyRotation, job.ID, attempts)
    				success := true
    				if err := r.KeyRotate(ctx, api, result); err != nil {
    					stopFn(result, err)
    					batchLogIf(ctx, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top