Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Petry (0.18 sec)

  1. cmd/batch-expire_gen.go

    			}
    		case "NotificationCfg":
    			err = z.NotificationCfg.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "NotificationCfg")
    				return
    			}
    		case "Retry":
    			err = z.Retry.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Retry")
    				return
    			}
    		case "Rules":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Rules")
    				return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. cmd/batch-replicate.go

    // - filter
    // - notify
    // - retry
    type BatchJobReplicateFlags struct {
    	Filter BatchReplicateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    // BatchJobReplicateResourceType defines the type of batch jobs
    type BatchJobReplicateResourceType string
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    				ri.RetryAttempts = batchReplJobDefaultRetries
    				if job.Replicate.Flags.Retry.Attempts > 0 {
    					ri.RetryAttempts = job.Replicate.Flags.Retry.Attempts
    				}
    			case job.KeyRotate != nil:
    				ri.RetryAttempts = batchKeyRotateJobDefaultRetries
    				if job.KeyRotate.Flags.Retry.Attempts > 0 {
    					ri.RetryAttempts = job.KeyRotate.Flags.Retry.Attempts
    				}
    			case job.Expire != nil:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    	}
    
    	// Caches are read+written without locks,
    	retries := 0
    	for retries < 5 {
    		retry, err := load(name, time.Minute)
    		if err != nil {
    			return toObjectErr(err, dataUsageBucket, name)
    		}
    		if !retry {
    			break
    		}
    		retry, err = load(name+".bkp", 30*time.Second)
    		if err == nil && !retry {
    			// Only return when we have valid data from the backup
    			break
    		}
    		retries++
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. internal/dsync/drwmutex.go

    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/env"
    )
    
    // Indicator if logging is enabled.
    var dsyncLog bool
    
    // Retry unit interval
    var lockRetryMinInterval time.Duration
    
    var lockRetryBackOff func(*rand.Rand, uint) time.Duration
    
    func init() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    		if err != nil {
    			switch toObjectErr(err, minioMetaBucket, o.objectPath(0)).(type) {
    			case ObjectNotFound, InsufficientReadQuorum:
    				retryWait()
    				continue
    			}
    			// Allow one fast retry for other errors.
    			if retries > 0 {
    				return entries, fmt.Errorf("reading first part metadata: %v", err)
    			}
    			retryWait()
    			continue
    		}
    
    		partN, err := o.findFirstPart(fi)
    		switch {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. cmd/notification.go

    	if nerrs <= 0 {
    		nerrs = 1
    	}
    	wk, _ := workers.New(wks)
    	return &NotificationGroup{errs: make([]NotificationPeerErr, nerrs), workers: wk, retryCount: 3}
    }
    
    // WithRetries sets the retry count for all function calls from the Go method.
    func (g *NotificationGroup) WithRetries(retryCount int) *NotificationGroup {
    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. cmd/os-reliable.go

    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				// Determine if os.NotExist error is because of
    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    				// baseDir which is slightly higher up the depth.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    	Prefix          string                 `yaml:"prefix" json:"prefix"`
    	NotificationCfg BatchJobNotification   `yaml:"notify" json:"notify"`
    	Retry           BatchJobRetry          `yaml:"retry" json:"retry"`
    	Rules           []BatchJobExpireFilter `yaml:"rules" json:"rules"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpire{}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  10. cmd/batch-rotate.go

    // - filter
    // - notify
    // - retry
    type BatchJobKeyRotateFlags struct {
    	Filter BatchKeyRotateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    // BatchJobKeyRotateV1 v1 of batch key rotation job
    type BatchJobKeyRotateV1 struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top