Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Kast (0.13 sec)

  1. cmd/tier-last-day-stats.go

    func (l *lastDayTierStats) addStats(ts tierStats) {
    	now := time.Now()
    	l.forwardTo(now)
    
    	nowIdx := now.Hour()
    	l.Bins[nowIdx] = l.Bins[nowIdx].add(ts)
    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    	// within the hour since l.UpdatedAt
    	if since < 1 {
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	},
    	ErrInvalidCopyPartRange: {
    		Code:           "InvalidArgument",
    		Description:    "The x-amz-copy-source-range value must be of the form bytes=first-last where first and last are the zero-based offsets of the first and last bytes to copy",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopyPartRangeSource: {
    		Code:           "InvalidArgument",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/metrics-v2.go

    	total             MetricName = "total"
    	freeInodes        MetricName = "free_inodes"
    
    	lastMinFailedCount  MetricName = "last_minute_failed_count"
    	lastMinFailedBytes  MetricName = "last_minute_failed_bytes"
    	lastHourFailedCount MetricName = "last_hour_failed_count"
    	lastHourFailedBytes MetricName = "last_hour_failed_bytes"
    	totalFailedCount    MetricName = "total_failed_count"
    	totalFailedBytes    MetricName = "total_failed_bytes"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser_test.go

    		participle.CaseInsensitive("Timeword"),
    	)
    
    	validCases := []string{
    		"count(*)",
    		"sum(2 + s.id)",
    		"sum(t)",
    		"avg(s.id[1])",
    		"coalesce(s.id[1], 2, 2 + 3)",
    
    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    		"extract(month from '2018-01-09')",
    
    		"extract(hour from '2018-01-09')",
    		"extract(day from '2018-01-09')",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    		}
    	}
    }
    
    const (
    	diskHealthOK int32 = iota
    	diskHealthFaulty
    )
    
    type diskHealthTracker struct {
    	// atomic time of last success
    	lastSuccess int64
    
    	// atomic time of last time a token was grabbed.
    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	c.Assert(err, nil)
    	// verify the status of the HTTP response.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// retrieve the info of last modification time of the object from the response header.
    	lastModified := response.Header.Get("Last-Modified")
    	// Parse it into time.Time structure.
    	t, err := time.Parse(http.TimeFormat, lastModified)
    	c.Assert(err, nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. internal/event/target/kafka.go

    	// and will be committed once the batch is full.
    	if target.batch != nil {
    		return target.addToBatch(key)
    	}
    
    	eventData, eErr := target.store.Get(key.Name)
    	if eErr != nil {
    		// The last event key in a successful batch will be sent in the channel atmost once by the replayEvents()
    		// Such events will not exist and wouldve been already been sent successfully.
    		if os.IsNotExist(eErr) {
    			return nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. cmd/metrics.go

    		dur = time.Since(bgSeq.lastHealActivity)
    	}
    
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(healMetricsNamespace, "time", "since_last_activity"),
    			"Time elapsed (in nano seconds) since last self healing activity. This is set to -1 until initial self heal activity",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(dur),
    	)
    	for k, v := range bgSeq.getScannedItemsMap() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. docs/debugging/s3-check-md5/main.go

    	flag.BoolVar(&versions, "versions", false, "Verify all versions")
    	flag.BoolVar(&insecure, "insecure", false, "Disable TLS verification")
    	flag.StringVar(&minModTimeStr, "modified-since", "", "Specify a minimum object last modified time, e.g.: 2023-01-02T15:04:05Z")
    	flag.Parse()
    
    	if endpoint == "" {
    		log.Fatalln("Endpoint is not provided")
    	}
    
    	if accessKey == "" {
    		log.Fatalln("Access key is not provided")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

              },
              "exemplar": true,
              "expr": "sum by (server) (minio_cluster_replication_last_minute_queued_bytes{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
            }
          ],
          "title": "Last Minute Queued",
          "type": "timeseries"
        },
        {
          "datasource": {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 57.5K bytes
    - Viewed (0)
Back to top