Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for rack (0.12 sec)

  1. cmd/xl-storage-format-v2.go

    // The most recently updated element in the array is considered the latest version.
    
    // In addition to these we have a special kind called free-version. This is represented
    // using a delete-marker and MetaSys entries. It's used to track tiered content of a
    // deleted/overwritten version. This version is visible _only_to the scanner routine, for subsequent deletion.
    // This kind of tracking is necessary since a version's tiered content is deleted asynchronously.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  2. cmd/utils.go

    		// for i, c := range via {
    		// 	fmt.Printf("Sofar %d: %s %s\n", i, c.Method, c.URL.String())
    		// }
    		// Save the last request in a redirect chain.
    		lastReq = req
    		// We do not follow redirect back to client application.
    		if req.URL.Path == "/oauth_callback" {
    			return http.ErrUseLastResponse
    		}
    		return nil
    	}
    
    	dexClient := http.Client{
    		CheckRedirect: checkRedirect,
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. internal/store/store.go

    			}
    
    			logger(
    				context.Background(),
    				fmt.Errorf("unable to send webhook log entry to '%s' err '%w'", target.Name(), err),
    				target.Name(),
    			)
    
    			select {
    			// Retrying after 3secs back-off
    			case <-retryTicker.C:
    			case <-doneCh:
    				return false
    			}
    		}
    		return true
    	}
    
    	for {
    		select {
    		case key, ok := <-keyCh:
    			if !ok {
    				return
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. cmd/api-headers.go

    		tags, _ := tags.ParseObjectTags(objInfo.UserTags)
    		if tags.Count() > 0 {
    			w.Header()[xhttp.AmzTagCount] = []string{strconv.Itoa(tags.Count())}
    			if opts.Tagging {
    				// This is MinIO only extension to return back tags along with the count.
    				w.Header()[xhttp.AmzObjectTagging] = []string{objInfo.UserTags}
    			}
    		}
    	}
    
    	// Set all other user defined metadata.
    	for k, v := range objInfo.UserDefined {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  5. cmd/http-stats.go

    }
    
    func (st *HTTPStats) incS3RequestsIncoming() {
    	// Golang automatically resets to zero if this overflows
    	atomic.AddUint64(&st.s3RequestsIncoming, 1)
    }
    
    // Converts http stats into struct to be sent back to the client.
    func (st *HTTPStats) toServerHTTPStats(toLowerKeys bool) ServerHTTPStats {
    	serverStats := ServerHTTPStats{}
    	serverStats.S3RequestsIncoming = atomic.SwapUint64(&st.s3RequestsIncoming, 0)
    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)
  6. cmd/data-scanner.go

    				}
    			}
    			// add this version back to remaining versions for
    			// subsequent lifecycle policy applications
    			objectInfos = append(objectInfos, obj)
    			continue
    		}
    
    		// NoncurrentDays not passed yet.
    		if time.Now().UTC().Before(lifecycle.ExpectedExpiryTime(obj.SuccessorModTime, event.NoncurrentDays)) {
    			// add this version back to remaining versions for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  7. cmd/server-main.go

    		if err != nil {
    			logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    				config.EnvVolumes, os.Getenv(config.EnvVolumes))
    		}
    	}
    	if v == "" {
    		// Fall back to older environment value MINIO_ENDPOINTS
    		v, _, _, err = env.LookupEnv(config.EnvEndpoints)
    		if err != nil {
    			logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  8. internal/etag/etag.go

    // by AWS S3.
    //
    // An AWS S3 ETag is 16 bytes long and, in case of a multipart
    // upload, has a `-N` suffix encoding the number of object parts.
    // An ETag is not AWS S3 compatible when encrypted. When sending
    // an ETag back to an S3 client it has to be formatted to be
    // AWS S3 compatible.
    //
    // Therefore, Format returns the last 16 bytes of an encrypted
    // ETag.
    //
    // In general, a caller has to distinguish the following cases:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    	objectName := "test-object"
    	// set of byte data for PutObject.
    	// object has to be created before running tests for HeadObject.
    	// this is required even to assert the HeadObject data,
    	// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical.
    	bytesData := []struct {
    		byteData []byte
    	}{
    		{generateBytesData(6 * humanize.MiByte)},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    	now := time.Now().UTC()
    
    	obj1 := ObjectOpts{
    		Name:     "obj1",
    		IsLatest: true,
    		ModTime:  now,
    	}
    
    	obj2 := ObjectOpts{
    		Name:    "obj2",
    		ModTime: now,
    	}
    
    	// Go back seven days in the past
    	now = now.Add(7 * 24 * time.Hour)
    
    	evt := lc.eval(obj1, now)
    	if evt.Action != TransitionAction {
    		t.Fatalf("Expected action: %s but got %s", TransitionAction, evt.Action)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top