Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isErrObjectNotFound (0.18 sec)

  1. cmd/batch-handlers.go

    					if err == nil {
    						oi = toObjectInfo(r.Source.Bucket, obj.Key, oi2)
    					} else {
    						if !isErrMethodNotAllowed(ErrorRespToObjectError(err, r.Source.Bucket, obj.Key)) &&
    							!isErrObjectNotFound(ErrorRespToObjectError(err, r.Source.Bucket, obj.Key)) {
    							batchLogIf(ctx, err)
    						}
    						continue
    					}
    				}
    				if hasTags {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	idx, err = z.getPoolIdxExistingNoLock(ctx, bucket, object)
    	if err != nil && !isErrObjectNotFound(err) {
    		return idx, err
    	}
    
    	if isErrObjectNotFound(err) {
    		idx = z.getAvailablePoolIdx(ctx, bucket, object, size)
    		if idx < 0 {
    			return -1, toObjectErr(errDiskFull)
    		}
    	}
    
    	return idx, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		}
    
    		obj, err := er.getObjectInfo(ctx, bucket, object, opts)
    		if err == nil && opts.CheckPrecondFn(obj) {
    			return objInfo, PreConditionFailed{}
    		}
    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return objInfo, err
    		}
    	}
    
    	// Validate input data size and it can never be less than -1.
    	if data.Size() < -1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    		ScanMode: madmin.HealDeepScan,
    	})
    	// since majority of xl.meta's are not available, object quorum
    	// can't be read properly will be deleted automatically and
    	// err is nil
    	if !isErrObjectNotFound(err) {
    		t.Fatal(err)
    	}
    }
    
    // Tests healing of empty directories
    func TestHealEmptyDirectoryErasure(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    			ReplicateDecisionStr:          dObjects[i].ReplicationState.ReplicateDecisionStr,
    		}
    		dindex := objectsToDelete[objToDel]
    		if errs[i] == nil || isErrObjectNotFound(errs[i]) || isErrVersionNotFound(errs[i]) {
    			if replicateDeletes {
    				dObjects[i].ReplicationState = deleteList[i].ReplicationState()
    			}
    			deleteResults[dindex].delInfo = dObjects[i]
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    		})
    		if err != nil {
    			if object.versionID != "" {
    				if !isErrVersionNotFound(err) {
    					t.Fatalf("%s : %s", instanceType, err)
    				}
    			} else {
    				if !isErrObjectNotFound(err) {
    					t.Fatalf("%s : %s", instanceType, err)
    				}
    			}
    		}
    		if obj.DeleteMarker != object.expectDelMarker {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top