Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for depleted (3.21 sec)

  1. cmd/erasure-object.go

    			if versioned || suspended {
    				// Bucket is versioned and no version was explicitly
    				// mentioned for deletes, create a delete marker instead.
    				vr.ModTime = UTCNow()
    				vr.Deleted = true
    				// Versioning suspended means that we add a `null` version
    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    				if version.Deleted && remainingVersions == 1 {
    					rebalanced++
    					stopFn(version.Size, errors.New("DELETE marked object with no other non-current versions will be skipped"))
    					continue
    				}
    
    				versionID := version.VersionID
    				if versionID == "" {
    					versionID = nullVersionID
    				}
    
    				var failure, ignore bool
    				if version.Deleted {
    					_, err := z.DeleteObject(ctx,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	NoLock     bool             // does not lock the delete bucket call if set to 'true'
    	NoRecreate bool             // do not recreate bucket on delete failures
    	Force      bool             // Force deletion
    	SRDeleteOp SRBucketDeleteOp // only when site replication is enabled
    }
    
    // BucketOptions provides options for ListBuckets and GetBucketInfo call.
    type BucketOptions struct {
    	Deleted    bool // true only when site replication is enabled
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. tests/generics_test.go

    	}
    
    	rows, err := gorm.G[User](DB).Where("id = ?", u.ID).Delete(ctx)
    	if err != nil {
    		t.Fatalf("Delete failed: %v", err)
    	}
    	if rows != 1 {
    		t.Errorf("expected 1 row deleted, got %d", rows)
    	}
    
    	_, err = gorm.G[User](DB).Where("id = ?", u.ID).First(ctx)
    	if err != gorm.ErrRecordNotFound {
    		t.Fatalf("User after delete failed: %v", err)
    	}
    }
    
    func TestGenericsFindInBatches(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	gopts := opts
    	gopts.NoLock = true // We already have a lock, we can live with it.
    	objInfo, err := getObjectInfo(ctx, bucket, object, gopts)
    	if err != nil {
    		// Versioning enabled quite possibly object is deleted might be delete-marker
    		// if present set the headers, no idea why AWS S3 sets these headers.
    		if objInfo.VersionID != "" && objInfo.DeleteMarker {
    			w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    	// Random UUID and timestamp for temporary part file.
    	tmpPart := fmt.Sprintf("%sx%d", mustGetUUID(), time.Now().UnixNano())
    	tmpPartPath := pathJoin(tmpPart, partSuffix)
    
    	// Delete the temporary object part. If PutObjectPart succeeds there would be nothing to delete.
    	defer func() {
    		if countOnlineDisks(onlineDisks) != len(onlineDisks) {
    			er.deleteAll(context.Background(), minioMetaTmpBucket, tmpPart)
    		}
    	}()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  7. generics.go

    				}
    			}
    
    			return q.db
    		})
    	})
    }
    
    func (c chainG[T]) Delete(ctx context.Context) (rowsAffected int, err error) {
    	r := new(T)
    	res := c.g.apply(ctx).Delete(r)
    	return int(res.RowsAffected), res.Error
    }
    
    func (c chainG[T]) Update(ctx context.Context, name string, value any) (rowsAffected int, err error) {
    	var r T
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    	if err != nil {
    		if isErrPreconditionFailed(err) {
    			return
    		}
    		if globalBucketVersioningSys.PrefixEnabled(srcBucket, srcObject) && gr != nil {
    			// Versioning enabled quite possibly object is deleted might be delete-marker
    			// if present set the headers, no idea why AWS S3 sets these headers.
    			if gr.ObjInfo.VersionID != "" && gr.ObjInfo.DeleteMarker {
    				w.Header()[xhttp.AmzVersionID] = []string{gr.ObjInfo.VersionID}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    	// Objects matching prefixes should not leave delete markers,
    	// dramatically reduces namespace pollution while keeping the
    	// benefits of replication, make sure to apply version suspension
    	// only at bucket level instead.
    	opts.VersionSuspended = globalBucketVersioningSys.Suspended(bucket)
    	// For directory objects, delete `null` version permanently.
    	if isDirObject(object) && opts.VersionID == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. guava-gwt/pom.xml

                <goals><goal>run</goal></goals>
                <configuration>
                  <target name="copy-gwt-resources">
                    <delete dir="${project.build.directory}/guava-gwt-sources" quiet="true" />
                    <delete dir="${project.build.directory}/guava-test-gwt-sources" quiet="true" />
    
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top