Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for Mitake (0.19 sec)

  1. cmd/batch-rotate.go

    		result := result
    		sseKMS := crypto.S3KMS.IsEncrypted(result.UserDefined)
    		sseS3 := crypto.S3.IsEncrypted(result.UserDefined)
    		if !sseKMS && !sseS3 { // neither sse-s3 nor sse-kms disallowed
    			continue
    		}
    		wk.Take()
    		go func() {
    			defer wk.Give()
    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				attempts := attempts
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricKeyRotation, job.ID, attempts)
    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)
  2. cmd/erasure-metadata.go

    		if errs[index] != nil {
    			parities[index] = -1
    			continue
    		}
    		if !metadata.IsValid() {
    			parities[index] = -1
    			continue
    		}
    		// Delete marker or zero byte objects take highest parity.
    		if metadata.Deleted || metadata.Size == 0 {
    			parities[index] = len(partsMetadata) / 2
    		} else {
    			parities[index] = metadata.Erasure.ParityBlocks
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. cmd/peer-rest-server.go

    	}
    
    	rulesMap := event.NewRulesMap(eventNames, pattern, event.TargetID{ID: mustGetUUID()})
    
    	// Listen Publisher uses nonblocking publish and hence does not wait for slow subscribers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    	ch := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    	err := globalHTTPListen.Subscribe(mask, ch, ctx.Done(), func(ev event.Event) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    		select {
    		case <-ctx.Done():
    			return
    		default:
    		}
    		if i > 0 {
    			if wait := globalBatchConfig.ExpirationWait(); wait > 0 {
    				time.Sleep(wait)
    			}
    		}
    		i++
    		wk.Take()
    		go func(toExpire []expireObjInfo) {
    			defer wk.Give()
    
    			toExpireAll := make([]ObjectInfo, 0, len(toExpire))
    			toDel := make([]ObjectToDelete, 0, len(toExpire))
    			oiCache := newObjInfoCache()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. internal/grid/connection.go

    		return
    	}
    
    	// TODO: This causes allocations, but escape analysis doesn't really show the cause.
    	// If another faithful engineer wants to take a stab, feel free.
    	go func(m message) {
    		var start time.Time
    		if m.DeadlineMS > 0 {
    			start = time.Now()
    		}
    		var b []byte
    		var err *RemoteErr
    		func() {
    			defer func() {
    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)
  6. cmd/site-replication.go

    	// Delete ILM config
    	_, err := globalBucketMetadataSys.Delete(ctx, bucket, bucketLifecycleConfig)
    	if err != nil {
    		return wrapSRErr(err)
    	}
    	return nil
    }
    
    // getAdminClient - NOTE: ensure to take at least a read lock on SiteReplicationSys
    // before calling this.
    func (c *SiteReplicationSys) getAdminClient(ctx context.Context, deploymentID string) (*madmin.AdminClient, error) {
    	creds, err := c.getPeerCreds()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. internal/rest/client.go

    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    		// with the caller to take the client offline purpose
    		// fully it should make sure to respond with '412'
    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)
  8. internal/logger/logrotate.go

    	// If the directory does not exist, it will be created.
    	Directory string
    
    	// MaximumFileSize defines the maximum size of each log file in bytes.
    	MaximumFileSize int64
    
    	// FileNameFunc specifies the name a new file will take.
    	// FileNameFunc must ensure collisions in filenames do not occur.
    	// Do not rely on timestamps to be unique, high throughput writes
    	// may fall on the same timestamp.
    	// Eg.
    	// 	2020-03-28_15-00-945-<random-hash>.log
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. internal/event/targetlist.go

    	if workerCount == 0 {
    		workerCount = runtime.GOMAXPROCS(0)
    	}
    	wk, err := workers.New(workerCount)
    	if err != nil {
    		panic(err)
    	}
    	for i := 0; i < workerCount; i++ {
    		wk.Take()
    		go func() {
    			defer wk.Give()
    
    			for {
    				select {
    				case av := <-list.queue:
    					list.sendSync(av.ev, av.targetSet)
    				case <-list.ctx.Done():
    					return
    				}
    			}
    		}()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. cmd/tier.go

    }
    
    // isTierNameInUse returns tier type and true if there exists a remote tier by
    // name tierName, otherwise returns madmin.Unsupported and false. N B this
    // function is meant for internal use, where the caller is expected to take
    // appropriate locks.
    func (config *TierConfigMgr) isTierNameInUse(tierName string) (madmin.TierType, bool) {
    	if t, ok := config.Tiers[tierName]; ok {
    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top