Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for FAILURE (0.16 sec)

  1. cmd/erasure-server-pool-rebalance.go

    							SkipRebalancing:   true, // make sure we skip the decommissioned pool
    							NoAuditLog:        true,
    						})
    					var failure bool
    					if err != nil && !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    						rebalanceLogIf(ctx, err)
    						failure = true
    					}
    
    					if !failure {
    						z.updatePoolStats(poolIdx, bucket, version)
    						rebalanced++
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. internal/hash/reader_test.go

    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Failure md5 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "d41d8cd98f00b204e9800998ecf8427f",
    			err: BadDigest{
    				"d41d8cd98f00b204e9800998ecf8427f",
    				"e2fc714c4727ee9395f324cd2e7f331f",
    			},
    		},
    		{
    			desc:       "Failure sha256 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  3. internal/s3select/sql/value.go

    // it returns false only if there is a conversion failure.
    func (v Value) bytesToInt() (int64, bool) {
    	bytes, _ := v.ToBytes()
    	i, err := strconv.ParseInt(strings.TrimSpace(string(bytes)), 10, 64)
    	return i, err == nil
    }
    
    // Converts untyped value into float. The bool return implies success
    // - it returns false only if there is a conversion failure.
    func (v Value) bytesToFloat() (float64, bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  4. update-credits.sh

          result of this License or out of the use or inability to use the
          Work (including but not limited to damages for loss of goodwill,
          work stoppage, computer failure or malfunction, or any and all
          other commercial damages or losses), even if such Contributor
          has been advised of the possibility of such damages.
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    type BucketRemoteTargetNotFound GenericError
    
    func (e BucketRemoteTargetNotFound) Error() string {
    	return "Remote target not found: " + e.Bucket
    }
    
    // RemoteTargetConnectionErr remote target connection failure.
    type RemoteTargetConnectionErr struct {
    	Err       error
    	Bucket    string
    	Endpoint  string
    	AccessKey string
    }
    
    func (e RemoteTargetConnectionErr) Error() string {
    	if e.Bucket != "" {
    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)
  6. internal/s3select/message.go

    	207, 151, 211, 146, // message crc.
    }
    
    // newErrorMessage - creates new Request Level Error Message. S3 sends this message if the request failed for any reason.
    // It contains the error code and error message for the failure. If S3 sends a RequestLevelError message,
    // it doesn't send an End message.
    //
    // Header specification:
    // Request-level error messages contain three headers, as follows:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    							NoAuditLog:         true,
    						})
    					var failure bool
    					if err != nil {
    						if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    							err = nil
    						}
    					}
    					stopFn(err)
    					if err != nil {
    						decomLogIf(ctx, err)
    						failure = true
    					}
    					z.poolMetaMutex.Lock()
    					z.poolMeta.CountItem(idx, 0, failure)
    					z.poolMetaMutex.Unlock()
    					if !failure {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  8. cmd/tier.go

    }
    
    type tierMetrics struct {
    	sync.RWMutex  // protects requestsCount only
    	requestsCount map[string]struct {
    		success int64
    		failure int64
    	}
    	histogram *prometheus.HistogramVec
    }
    
    var globalTierMetrics = tierMetrics{
    	requestsCount: make(map[string]struct {
    		success int64
    		failure int64
    	}),
    	histogram: prometheus.NewHistogramVec(prometheus.HistogramOpts{
    		Name:    "tier_ttlb_seconds",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		}
    		if checkCopyObjectPartPreconditions(ctx, w, r, o) {
    			return true
    		}
    		if parseRangeErr != nil {
    			writeCopyPartErr(ctx, w, parseRangeErr, r.URL)
    			// Range header mismatch is pre-condition like failure
    			// so return true to indicate Range precondition failed.
    			return true
    		}
    		return false
    	}
    	getOpts.CheckPrecondFn = checkCopyPartPrecondFn
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  10. cmd/format-erasure_test.go

    			false,
    		},
    	}
    
    	// Valid all test cases.
    	for i, testCase := range testCases {
    		if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success {
    			t.Errorf("Test %d: Expected failure %s", i+1, err)
    		}
    	}
    }
    
    // Tests getFormatErasureInQuorum()
    func TestGetFormatErasureInQuorumCheck(t *testing.T) {
    	setCount := 2
    	setDriveCount := 16
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top