Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isErrVersionNotFound (0.12 sec)

  1. cmd/global-heal.go

    					madmin.HealOpts{
    						ScanMode: scanMode,
    						Remove:   healDeleteDangling,
    					})
    				if err != nil {
    					if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    						// queueing happens across namespace, ignore
    						// objects that are not found.
    						return
    					}
    					result = healEntryFailure(0)
    					bgSeq.countFailed(madmin.HealItemObject)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    						})
    					if err != nil {
    						// This can happen when rebalance stop races with ongoing rebalance workers.
    						// These rebalance failures can be ignored.
    						if isErrObjectNotFound(err) || isErrVersionNotFound(err) || isDataMovementOverWriteErr(err) {
    							ignore = true
    							stopFn(0, nil)
    							continue
    						}
    					}
    					stopFn(version.Size, err)
    					if err != nil {
    						decomLogIf(ctx, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    						err := bgSeq.queueHealTask(healSource{
    							bucket:    bucket,
    							object:    entry.name,
    							versionID: "",
    						}, madmin.HealItemObject)
    						if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    							scannerLogIf(ctx, err)
    						}
    						foundObjs = foundObjs || err == nil
    						return
    					}
    
    					custom["versions"] = fmt.Sprint(len(fiv.Versions))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    			// This happens usually for a delete marker
    			if oi.DeleteMarker || !oi.VersionPurgeStatus.Empty() {
    				// Delete marker should be present and valid.
    				return nil
    			}
    		}
    		if isErrObjectNotFound(gerr) || isErrVersionNotFound(gerr) {
    			return nil
    		}
    		return gerr
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(oi.UserDefined)
    	if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn {
    		return ObjectLocked{}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    					if err != nil {
    						// This can happen when rebalance stop races with ongoing rebalance workers.
    						// These rebalance failures can be ignored.
    						if isErrObjectNotFound(err) || isErrVersionNotFound(err) || isDataMovementOverWriteErr(err) {
    							ignore = true
    							stopFn(0, nil)
    							continue
    						}
    					}
    					stopFn(version.Size, err)
    					rebalanceLogIf(ctx, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    	if errors.Is(err, errFileNotFound) {
    		return true
    	}
    
    	var objNotFound ObjectNotFound
    	return errors.As(err, &objNotFound)
    }
    
    // isErrVersionNotFound - Check if error type is VersionNotFound.
    func isErrVersionNotFound(err error) bool {
    	if errors.Is(err, errFileVersionNotFound) {
    		return true
    	}
    
    	var versionNotFound VersionNotFound
    	return errors.As(err, &versionNotFound)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    				if !oi.TransitionedObject.FreeVersion {
    					// nothing to be done
    					continue
    				}
    
    				ignoreNotFoundErr := func(err error) error {
    					switch {
    					case isErrVersionNotFound(err), isErrObjectNotFound(err):
    						return nil
    					}
    					return err
    				}
    				// Remove the remote object
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    			opts.NoLock = true
    		}
    
    		obj, err := er.getObjectInfo(ctx, bucket, object, opts)
    		if err == nil && opts.CheckPrecondFn(obj) {
    			return nil, PreConditionFailed{}
    		}
    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return nil, err
    		}
    	}
    
    	userDefined := cloneMSS(opts.UserDefined)
    	if opts.PreserveETag != "" {
    		userDefined["etag"] = opts.PreserveETag
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top