Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 865 for errC (0.04 sec)

  1. cmd/object-handlers-common.go

    					VersionID: dobj.VersionID,
    				},
    				UserAgent: "Internal: [ILM-Expiry]",
    				Host:      globalLocalNodeName,
    			}
    			if errs[i] != nil {
    				evArgs.RespElements = map[string]string{
    					"error": fmt.Sprintf("failed to delete %s(%s), with error %v", dobj.ObjectName, dobj.VersionID, errs[i]),
    				}
    			}
    			sendEvent(evArgs)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. internal/rest/client.go

    }
    
    func (r *respBodyMonitor) Read(p []byte) (n int, err error) {
    	n, err = r.ReadCloser.Read(p)
    	r.errorStatus(err)
    	return
    }
    
    func (r *respBodyMonitor) Close() (err error) {
    	err = r.ReadCloser.Close()
    	r.errorStatus(err)
    	return
    }
    
    func (r *respBodyMonitor) errorStatus(err error) {
    	if xnet.IsNetworkOrHostDown(err, r.expectTimeouts) {
    		r.errorStatusOnce.Do(func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    func (r *metacacheReader) filter(o listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	// Forward to prefix, if any
    	err = r.forwardTo(o.Prefix)
    	if err != nil {
    		return entries, err
    	}
    	if o.Marker != "" {
    		err = r.forwardTo(o.Marker)
    		if err != nil {
    			return entries, err
    		}
    	}
    	o.debugln("forwarded to ", o.Prefix, "marker:", o.Marker, "sep:", o.Separator)
    
    	// Filter
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. cmd/bucket-policy-handlers_test.go

    	start := make(chan struct{})
    	var ok, errs int
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	wg.Add(n)
    	for i := 0; i < n; i++ {
    		go func() {
    			defer wg.Done()
    			// Sync start.
    			<-start
    			if err := obj.MakeBucket(GlobalContext, bucketName1, MakeBucketOptions{}); err != nil {
    				if _, ok := err.(BucketExists); !ok {
    					t.Logf("unexpected error: %T: %v", err, err)
    					return
    				}
    				mu.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. internal/s3select/select.go

    	type subS3Select S3Select
    	parsedS3Select := subS3Select{}
    	if err := d.DecodeElement(&parsedS3Select, &start); err != nil {
    		if _, ok := err.(*s3Error); ok {
    			return err
    		}
    
    		return errMalformedXML(err)
    	}
    	if err := parsedS3Select.ScanRange.Validate(); err != nil {
    		return errInvalidScanRangeParameter(err)
    	}
    	parsedS3Select.ExpressionType = strings.ToLower(parsedS3Select.ExpressionType)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. internal/logger/console.go

    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    func fatal(err error, msg string, data ...interface{}) {
    	if msg == "" {
    		if len(data) > 0 {
    			msg = fmt.Sprint(data...)
    		} else {
    			msg = "a fatal error"
    		}
    	} else {
    		msg = fmt.Sprintf(msg, data...)
    	}
    	consoleLog(fatalMessage, errorFmtFunc(msg, err, jsonFlag))
    }
    
    var fatalMessage fatalMsg
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		}
    
    		xlStorageNew, err := newLocalXLStorage(permDeniedDir)
    		if err != nil {
    			t.Fatalf("Unable to initialize xlStorage, %s", err)
    		}
    
    		// change backend permissions for MakeVol error.
    		if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    			t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    		var err error
    		bufs, err = reader.Read(bufs)
    		if len(bufs) > 0 {
    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    					derr = err
    				}
    			}
    		} else if err != nil {
    			return err
    		}
    
    		if err = e.DecodeDataAndParityBlocks(ctx, bufs); err != nil {
    			return err
    		}
    
    		w := multiWriter{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    		}
    	}
    
    	for _, tag := range ef.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range ef.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    	if err := ef.Purge.Validate(); err != nil {
    		return err
    	}
    	if err := ef.Size.Validate(); err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			var (
    				got  = rdrBuf.Bytes()
    				want = stdBuf.Bytes()
    			)
    			if !bytes.Equal(got, want) {
    				t.Errorf("encoded data does not match\n\t%q\n\t%q", got, want)
    			}
    
    			var decBuf bytes.Buffer
    			decRdr := s2.NewReader(&rdrBuf)
    			_, err = io.Copy(&decBuf, decRdr)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top