Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for correctly (0.21 sec)

  1. cmd/api-utils.go

    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/bucket/replication/datatypes.go

    const (
    	// Pending - replication is pending.
    	Pending StatusType = "PENDING"
    
    	// Completed - replication completed ok.
    	Completed StatusType = "COMPLETED"
    
    	// CompletedLegacy was called "COMPLETE" incorrectly.
    	CompletedLegacy StatusType = "COMPLETE"
    
    	// Failed - replication failed.
    	Failed StatusType = "FAILED"
    
    	// Replica - this is a replica.
    	Replica StatusType = "REPLICA"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. cmd/bootstrap-peer-server.go

    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    					logger.Info(fmt.Sprintf("Following servers are currently offline or unreachable %s", offlineEndpoints))
    				}
    				if len(incorrectConfigs) > 0 {
    					logger.Info(fmt.Sprintf("Following servers have mismatching configuration %s", incorrectConfigs))
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    // while reading the object from another source.
    // Notice: The S3 client can send secret keys in headers for encryption related jobs,
    // the handler should ensure to remove these keys before sending them to the object layer.
    // Currently these keys are:
    //   - X-Amz-Server-Side-Encryption-Customer-Key
    //   - X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key
    func (api objectAPIHandlers) CopyObjectHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-meta-inline.go

    			return fmt.Errorf("xlMetaInlineData: %w", err)
    		}
    	}
    
    	return nil
    }
    
    // repair will copy all seemingly valid data entries from a corrupted set.
    // This does not ensure that data is correct, but will allow all operations to complete.
    func (x *xlMetaInlineData) repair() {
    	data := *x
    	if len(data) == 0 {
    		return
    	}
    
    	if !data.versionOK() {
    		*x = nil
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  6. cmd/metrics.go

    			float64(v), string(k),
    		)
    	}
    	for k, v := range bgSeq.getHealFailedItemsMap() {
    		// healFailedItemsMap stores the endpoint and volume state separated by comma,
    		// split the fields and pass to channel at correct index
    		s := strings.Split(k, ",")
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(healMetricsNamespace, "objects", "heal_failed"),
    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)
  7. cmd/object-api-errors.go

    // MethodNotAllowed on the object
    type MethodNotAllowed GenericError
    
    func (e MethodNotAllowed) Error() string {
    	return "Method not allowed: " + e.Bucket + "/" + e.Object
    }
    
    // ObjectLocked object is currently WORM protected.
    type ObjectLocked GenericError
    
    func (e ObjectLocked) Error() string {
    	return "Object is WORM protected and cannot be overwritten: " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    func getS3RequestsInFlightMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsSubsystem,
    		Name:      inflightTotal,
    		Help:      "Total number of S3 requests currently in flight",
    		Type:      gaugeMetric,
    	}
    }
    
    func getS3RequestsInQueueMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsSubsystem,
    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)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteArnInvalid: {
    		Code:           "XMinioAdminRemoteArnInvalid",
    		Description:    "The bucket remote ARN does not have correct format",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrRemoteTargetNotVersionedError: {
    		Code:           "RemoteTargetNotVersionedError",
    		Description:    "The remote target does not have versioning enabled",
    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)
  10. docs/debugging/xl-meta/main.go

    )
    
    func init() {
    	binary.LittleEndian.PutUint16(xlVersionCurrent[0:2], xlVersionMajor)
    	binary.LittleEndian.PutUint16(xlVersionCurrent[2:4], xlVersionMinor)
    }
    
    // checkXL2V1 will check if the metadata has correct header and is a known major version.
    // The remaining payload and versions are returned.
    func checkXL2V1(buf []byte) (payload []byte, major, minor uint16, err error) {
    	if len(buf) <= 8 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
Back to top