Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for stats (0.19 sec)

  1. cmd/bucket-stats_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "Stats":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Stats")
    				return
    			}
    			if z.Stats == nil {
    				z.Stats = make(map[string]*BucketReplicationStat, zb0002)
    			} else if len(z.Stats) > 0 {
    				for key := range z.Stats {
    					delete(z.Stats, key)
    				}
    			}
    			for zb0002 > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    		bucketStatsMap[k] = BucketStats{
    			ReplicationStats: v,
    			ProxyStats:       globalReplicationStats.getProxyStats(k),
    		}
    	}
    	return &BucketStatsMap{Stats: bucketStatsMap, Timestamp: time.Now()}, nil
    }
    
    // GetBucketStatsHandler - fetches current in-memory bucket stats, currently only
    // returns BucketStats, that currently includes ReplicationStats.
    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)
  3. cmd/erasure-server-pool.go

    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    					continue
    				}
    				stats, err := disk.StatInfoFile(ctx, volume, file, true)
    				if err != nil {
    					continue
    				}
    				for _, si := range stats {
    					found++
    					var r io.ReadCloser
    					if !si.Dir {
    						r, err = disk.ReadFileStream(ctx, volume, si.Name, 0, si.Size)
    						if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    }
    
    func resetGlobalEndpoints() {
    	globalEndpoints = EndpointServerPools{}
    }
    
    func resetGlobalIsErasure() {
    	globalIsErasure = false
    }
    
    // reset global heal state
    func resetGlobalHealState() {
    	// Init global heal state
    	if globalAllHealState == nil {
    		globalAllHealState = newHealState(GlobalContext, false)
    	} else {
    		globalAllHealState.Lock()
    		for _, v := range globalAllHealState.healSeqMap {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    		return nil, time.Time{}, &os.PathError{
    			Op:   "open",
    			Path: itemPath,
    			Err:  syscall.EISDIR,
    		}
    	}
    	buf, err := readXLMetaNoData(f, stat.Size())
    	if err != nil {
    		return nil, stat.ModTime().UTC(), fmt.Errorf("%w -> %s", err, itemPath)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    	ActualObjectSize string `xml:"ActualObjectSize,omitempty" json:"ActualObjectSize,omitempty"`
    	RangeRequested   string `xml:"RangeRequested,omitempty" json:"RangeRequested,omitempty"`
    }
    
    // APIErrorCode type of error status.
    type APIErrorCode int
    
    //go:generate stringer -type=APIErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  7. cmd/erasure-object.go

    		return objInfo, ObjectNotFound{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    
    	if opts.DeletePrefix {
    		if opts.Expiration.Expire {
    			// Expire all versions expiration must still verify the state() on disk
    			// via a getObjectInfo() call as follows, any read quorum issues we
    			// must not proceed further for safety reasons. attempt a MRF heal
    			// while we see such quorum errors.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. cmd/batch-handlers.go

    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobReplicateV1) Notify(ctx context.Context, ri *batchJobInfo) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes_gen.go

    			z.FreeVersion, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "FreeVersion")
    				return
    			}
    		case "Status":
    			z.Status, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Status")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    	}
    	object := trimLeadingSlash(formValues.Get("Key"))
    
    	successRedirect := formValues.Get("success_action_redirect")
    	successStatus := formValues.Get("success_action_status")
    	var redirectURL *url.URL
    	if successRedirect != "" {
    		redirectURL, err = url.Parse(successRedirect)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top