Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for We (0.15 sec)

  1. cmd/metacache-entries.go

    		return selected, true
    	}
    
    	// If we would never be able to reach read quorum.
    	if objsValid < r.objQuorum {
    		return nil, false
    	}
    
    	// If all objects agree.
    	if selected != nil && objsAgree == objsValid {
    		return selected, true
    	}
    
    	// If cached is nil we shall skip the entry.
    	if selected.cached == nil {
    		return nil, false
    	}
    
    	// Merge if we have disagreement.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/os-reliable.go

    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path"
    )
    
    // Wrapper functions to os.RemoveAll, which calls reliableRemoveAll
    // this is to ensure that if there is a racy parent directory
    // create in between we can simply retry the operation.
    func removeAll(dirPath string) (err error) {
    	if dirPath == "" {
    		return errInvalidArgument
    	}
    
    	if err = checkPathLength(dirPath); err != nil {
    		return err
    	}
    
    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)
  3. cmd/metrics-v3-handler.go

    	if isListingRequest {
    		handler := h.listMetrics(path)
    		if handler == nil {
    			return notFoundHandler
    		}
    		return handler
    	}
    
    	// In each of the following cases, we check if the collect path is a
    	// descendant of `path`, and if so, we add the corresponding gatherer to
    	// the list of gatherers. This way, /api/a will return all metrics returned
    	// by /api/a/b and /api/a/c (and any other matching descendant collector
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    	if debugPrint {
    		fmt.Printf("grid: Queued Response %+v Side: %v\n", resp, c.side)
    	}
    	if err != nil {
    		return err
    	}
    	// Signal that we are reconnected, update state and handle messages.
    	// Prevent other connections from connecting while we process.
    	c.reconnectMu.Lock()
    	if c.remoteID != nil {
    		c.reconnected()
    	}
    	rid := uuid.UUID(req.ID)
    	c.remoteID = &rid
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    		FreeVersion: fi.TierFreeVersion(),
    		Tier:        fi.TransitionTier,
    	}
    
    	// etag/md5Sum has already been extracted. We need to
    	// remove to avoid it from appearing as part of
    	// response headers. e.g, X-Minio-* or X-Amz-*.
    	// Tags have also been extracted, we remove that as well.
    	objInfo.UserDefined = cleanMetadata(fi.Metadata)
    
    	// All the parts per object.
    	objInfo.Parts = fi.Parts
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. cmd/endpoint-ellipses.go

    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    		if len(args) > 1 {
    			var err error
    			setIndexes, err = getSetIndexes(args, []uint64{uint64(len(args))}, customSetDriveCount, nil)
    			if err != nil {
    				return nil, err
    			}
    		} else {
    			// We are in FS setup, proceed forward.
    			setIndexes = [][]uint64{{uint64(len(args))}}
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		// https://en.wikipedia.org/wiki/Copy_protection so the incoming stream
    		// is always going to be in-memory as we cannot re-read from what we
    		// wrote to disk - since that amounts to "copying" from a "copy"
    		// instead of "copying" from source, we need the stream to be seekable
    		// to ensure that we can make fan-out calls concurrently.
    		buf := bytebufferpool.Get()
    		defer func() {
    			buf.Reset()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    		// in the beginning of erasure set healing
    		if _, err := objAPI.HealBucket(ctx, bucket, madmin.HealOpts{
    			ScanMode: scanMode,
    		}); err != nil {
    			// Set this such that when we return this function
    			// we let the caller retry this disk again for the
    			// buckets that failed healing.
    			retErr = err
    			healingLogIf(ctx, err)
    			continue
    		}
    
    		var (
    			vc   *versioning.Versioning
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. cmd/batch-expire.go

    	if err := api.Walk(ctx, r.Bucket, r.Prefix, results, WalkOptions{
    		Marker:       lastObject,
    		LatestOnly:   false, // we need to visit all versions of the object to implement purge: retainVersions
    		VersionsSort: WalkVersionsSortDesc,
    	}); err != nil {
    		// Do not need to retry if we can't list objects on source.
    		return err
    	}
    
    	// Goroutine to periodically save batch-expire job's in-memory state
    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. internal/ioutil/ioutil.go

    			return written, io.ErrShortWrite
    		}
    
    		if totalSize > 0 && written == totalSize {
    			// we have written the entire stream, return right here.
    			return written, nil
    		}
    
    		if eof {
    			// We reached EOF prematurely but we did not write everything
    			// that we promised that we would write.
    			if totalSize > 0 && written != totalSize {
    				return written, io.ErrUnexpectedEOF
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top