Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Mitake (0.18 sec)

  1. cmd/erasure-encode.go

    			}...) {
    				return 0, err
    			}
    		}
    
    		eof := err == io.EOF || err == io.ErrUnexpectedEOF
    		if n == 0 && total != 0 {
    			// Reached EOF, nothing more to be done.
    			break
    		}
    
    		// We take care of the situation where if n == 0 and total == 0 by creating empty data and parity files.
    		blocks, err = e.EncodeData(ctx, buf[:n])
    		if err != nil {
    			return 0, err
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    				skipReplicate = obj.IsDeleteMarker && s3Type
    			}
    			if skipReplicate {
    				continue
    			}
    
    			wk.Take()
    			go func() {
    				defer wk.Give()
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricReplication, job.ID, attempts)
    				success := true
    				if err := r.ReplicateFromSource(ctx, api, core, oi, retry); err != 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)
  3. cmd/metacache-set.go

    // listPathRaw will list a path on the provided drives.
    // See listPathRawOptions on how results are delivered.
    // Directories are always returned.
    // Cache will be bypassed.
    // Context cancellation will be respected but may take a while to effectuate.
    func listPathRaw(ctx context.Context, opts listPathRawOptions) (err error) {
    	disks := opts.disks
    	if len(disks) == 0 {
    		return fmt.Errorf("listPathRaw: 0 drives provided")
    	}
    
    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)
  4. cmd/notification.go

    // collected in errs slice and returned by Wait().
    func (g *NotificationGroup) Go(ctx context.Context, f func() error, index int, addr xnet.Host) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	g.workers.Take()
    
    	go func() {
    		defer g.workers.Give()
    
    		g.errs[index] = NotificationPeerErr{
    			Host: addr,
    		}
    		for i := 0; i < g.retryCount; i++ {
    			g.errs[index].Err = nil
    			if err := f(); err != nil {
    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)
  5. cmd/admin-handlers.go

    			hr := healResp{respBytes, apiErr, errMsg}
    			respCh <- hr
    		}()
    	}
    
    	// Due to the force-starting functionality, the Launch
    	// call above can take a long time - to keep the
    	// connection alive, we start sending whitespace
    	keepConnLive(w, r, respCh)
    }
    
    // getAggregatedBackgroundHealState returns the heal state of disks.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. cmd/healthcheck-handler.go

    	}
    	if !result.Healthy {
    		// As a maintenance call we are purposefully asked to be taken
    		// down, this is for orchestrators to know if we can safely
    		// take this server down, return appropriate error.
    		if opts.Maintenance {
    			writeResponse(w, http.StatusPreconditionFailed, nil, mimeNone)
    		} else {
    			writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. internal/etag/etag.go

    // is encrypted, compressed or uploaded using
    // the S3 multipart API then its ETag is not
    // necessarily the MD5 of the object content.
    //
    // For a more detailed description of S3 ETags
    // take a look at the package documentation.
    type ETag []byte
    
    // String returns the string representation of the ETag.
    //
    // The returned string is a hex representation of the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    // compacted until the limit is reached.
    //
    // This ensures that any branch will never contain an unreasonable amount of other branches,
    // and also that small branches with few objects don't take up unreasonable amounts of space.
    // This keeps the cache size at a reasonable size for all buckets.
    //
    // Whenever a branch is scanned, it is assumed that it will be un-compacted
    // before it hits any of the above limits.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    			agreed: func(entry metaCacheEntry) {
    				jt.Take()
    				go healEntry(bucket, entry)
    			},
    			partial: func(entries metaCacheEntries, _ []error) {
    				entry, ok := entries.resolve(&resolver)
    				if !ok {
    					// check if we can get one entry at least
    					// proceed to heal nonetheless.
    					entry, _ = entries.firstFound()
    				}
    				jt.Take()
    				go healEntry(bucket, *entry)
    			},
    			finished: nil,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  10. cmd/callhome.go

    		// Leader node (that successfully acquires the lock inside runCallhome)
    		// will keep performing the callhome. If the leader goes down for some reason,
    		// the lock will be released and another node will acquire it and take over
    		// because of this loop.
    		for {
    			if !globalCallhomeConfig.Enabled() {
    				return
    			}
    
    			if !runCallhome(ctx, objAPI) {
    				// callhome was disabled or context was canceled
    				return
    			}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
Back to top