Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for failed (0.18 sec)

  1. cmd/data-scanner_test.go

    					NewerNoncurrentVersions: 1,
    				},
    			},
    		},
    	}
    	lcXML, err := xml.Marshal(lc)
    	if err != nil {
    		t.Fatalf("Failed to marshal lifecycle config: %v", err)
    	}
    	vcfg := versioning.Versioning{
    		Status: "Enabled",
    	}
    	vcfgXML, err := xml.Marshal(vcfg)
    	if err != nil {
    		t.Fatalf("Failed to marshal versioning config: %v", err)
    	}
    
    	bucket := "bucket"
    	obj := "obj-1"
    	now := time.Now()
    	meta := BucketMetadata{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. internal/event/name.go

    	case ObjectRestoreCompleted:
    		return "s3:ObjectRestore:Completed"
    	case ObjectTransitionAll:
    		return "s3:ObjectTransition:*"
    	case ObjectTransitionFailed:
    		return "s3:ObjectTransition:Failed"
    	case ObjectTransitionComplete:
    		return "s3:ObjectTransition:Complete"
    	case ObjectManyVersions:
    		return "s3:Scanner:ManyVersions"
    	case ObjectLargeVersions:
    		return "s3:Scanner:LargeVersions"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Code:           "CastFailed",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCast: {
    		Code:           "InvalidCast",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. cmd/erasure-server-pool-decom.go

    		if err != nil {
    			decomLogIf(ctx, err)
    			failed = true
    		}
    	}
    
    	if failed {
    		// Decommission failed indicate as such.
    		decomLogIf(GlobalContext, z.DecommissionFailed(dctx, idx))
    	} else {
    		// Complete the decommission..
    		decomLogIf(GlobalContext, z.CompleteDecommission(dctx, idx))
    	}
    }
    
    func (z *erasureServerPools) IsSuspended(idx int) bool {
    	z.poolMetaMutex.RLock()
    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)
  5. cmd/object-api-errors.go

    func isErrSignatureDoesNotMatch(err error) bool {
    	var signatureDoesNotMatch SignatureDoesNotMatch
    	return errors.As(err, &signatureDoesNotMatch)
    }
    
    // PreConditionFailed - Check if copy precondition failed
    type PreConditionFailed struct{}
    
    func (e PreConditionFailed) Error() string {
    	return "At least one of the pre-conditions you specified did not hold"
    }
    
    func isErrPreconditionFailed(err error) bool {
    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. cmd/object-api-listobjects_test.go

    			if err != nil && testCase.shouldPass {
    				t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			}
    			if err == nil && !testCase.shouldPass {
    				t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    			}
    			// Failed as expected, but does it fail for the expected reason.
    			if err != nil && !testCase.shouldPass {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    		}
    	}
    
    	// Check failed deletes across multiple objects
    	for i, dobj := range dobjects {
    		// This object errored, we should attempt a heal just in case.
    		if errs[i] != nil && !isErrVersionNotFound(errs[i]) && !isErrObjectNotFound(errs[i]) {
    			// all other direct versionId references we should
    			// ensure no dangling file is left over.
    			er.addPartial(bucket, dobj.ObjectName, dobj.VersionID)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  9. cmd/erasure-server-pool.go

    					}
    				}
    			}
    		}
    	}
    	return res
    }
    
    // GetRawData will return all files with a given raw path to the callback.
    // Errors are ignored, only errors from the callback are returned.
    // For now only direct file paths are supported.
    func (z *erasureServerPools) GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error {
    	found := 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    						!isErrPreconditionFailed(proxyGetErr) && !isErrInvalidRange(proxyGetErr) {
    						replLogIf(ctx, fmt.Errorf("Proxying request (replication) failed for %s/%s(%s) - %w", bucket, object, opts.VersionID, perr))
    					}
    				}
    				if reader != nil && proxy.Proxy && perr == nil {
    					gr = reader
    				}
    			}
    		}
    		if reader == nil || !proxy.Proxy {
    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)
Back to top