Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for good (0.2 sec)

  1. internal/cachevalue/cache.go

    	// even if updating the value errors out.
    	// Returns the last good value AND the error.
    	ReturnLastGood bool
    
    	// If CacheError is set, errors will be cached as well
    	// and not continuously try to update.
    	// Should not be combined with ReturnLastGood.
    	CacheError bool
    
    	// If NoWait is set, Get() will return the last good value,
    	// if TTL has expired but 2x TTL has not yet passed,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    // When a non-nil error is returned 'done' MUST be called
    // with the status of the response, if it corresponds to disk health.
    // If the pointer sent to done is non-nil AND the error
    // is either nil or io.EOF the disk is considered good.
    // So if unsure if the disk status is ok, return nil as a parameter to done.
    // Shadowing will work as long as return error is named: https://go.dev/play/p/sauq86SsTN2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/metacache-server-pool.go

    			}
    		}
    		if IsErr(err, []error{
    			nil,
    			context.Canceled,
    			context.DeadlineExceeded,
    			// io.EOF is expected and should be returned but no need to log it.
    			io.EOF,
    		}...) {
    			// Expected good errors we don't need to return error.
    			return entries, err
    		}
    		entries.truncate(0)
    		go func() {
    			rpc := globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix))
    			if rpc != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  4. Makefile

    	@mkdir -p minio-release/$(GOOS)-$(GOARCH)/archive
    	@cp -af ./minio minio-release/$(GOOS)-$(GOARCH)/minio
    	@cp -af ./minio minio-release/$(GOOS)-$(GOARCH)/minio.$(VERSION)
    	@minisign -qQSm minio-release/$(GOOS)-$(GOARCH)/minio.$(VERSION) -s "${CRED_DIR}/minisign.key" < "${CRED_DIR}/minisign-passphrase"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  5. cmd/update.go

    	// the user-agent slice.
    	uaAppend := func(p, q string) {
    		userAgentParts = append(userAgentParts, p, q)
    	}
    	uaAppend(MinioUAName, " (")
    	uaAppend("", runtime.GOOS)
    	uaAppend("; ", runtime.GOARCH)
    	if mode != "" {
    		uaAppend("; ", mode)
    	}
    	if IsDCOS() {
    		uaAppend("; ", "dcos")
    	}
    	if IsKubernetes() {
    		uaAppend("; ", "kubernetes")
    	}
    	if IsDocker() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    	}
    }
    
    func getMinioProcMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: 10 * time.Second,
    	}
    	mg.RegisterRead(func(ctx context.Context) (metrics []MetricV2) {
    		if runtime.GOOS == "windows" {
    			return nil
    		}
    
    		p, err := procfs.Self()
    		if err != nil {
    			internalLogOnceIf(ctx, err, string(nodeMetricNamespace))
    			return
    		}
    
    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)
  7. cmd/server_test.go

    // and then asserting the response with the expected one.
    func (s *TestSuiteCommon) TestListObjectsSpecialCharactersHandler(c *check) {
    	if runtime.GOOS == globalWindowsOSName {
    		c.Skip("skip special character test for windows")
    	}
    
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    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)
  9. cmd/http-stats.go

    	hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder.
    
    	hstats.totalS3Requests.Inc(api)
    	code := w.StatusCode
    
    	switch {
    	case code == 0:
    	case code == 499:
    		// 499 is a good error, shall be counted as canceled.
    		hstats.totalS3Canceled.Inc(api)
    	case code >= http.StatusBadRequest:
    		if code >= http.StatusInternalServerError {
    			hstats.totalS35xxErrors.Inc(api)
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    			return fmt.Errorf("bucket replication config validation error: %#v", apiErr)
    		}
    		err = newReplicationConfig.Validate(bucket, sameTarget)
    		if err != nil {
    			return err
    		}
    		// Config looks good, so we save it.
    		replCfgData, err := xml.Marshal(newReplicationConfig)
    		if err != nil {
    			return err
    		}
    
    		_, err = globalBucketMetadataSys.Update(ctx, bucket, bucketReplicationConfig, replCfgData)
    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)
Back to top