Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for deletePrefix (0.1 sec)

  1. cmd/object-api-options.go

    	opts, err = getOpts(ctx, r, bucket, object)
    	if err != nil {
    		return opts, err
    	}
    
    	deletePrefix := false
    	if d := r.Header.Get(xhttp.MinIOForceDelete); d != "" {
    		if b, err := strconv.ParseBool(d); err == nil {
    			deletePrefix = b
    		} else {
    			return opts, err
    		}
    	}
    
    	opts.DeletePrefix = deletePrefix
    	opts.Versioned = globalBucketVersioningSys.PrefixEnabled(bucket, object)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    }
    
    func (s *erasureSets) deletePrefix(ctx context.Context, bucket string, prefix string) error {
    	var wg sync.WaitGroup
    	wg.Add(len(s.sets))
    	for _, s := range s.sets {
    		go func(s *erasureObjects) {
    			defer wg.Done()
    			// This is a force delete, no reason to throw errors.
    			s.DeleteObject(ctx, bucket, prefix, ObjectOptions{DeletePrefix: true})
    		}(s)
    	}
    	wg.Wait()
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. cmd/batch-expire.go

    						ObjectName: exp.Name,
    						VersionID:  exp.VersionID,
    					},
    				}
    				toDel = append(toDel, od)
    				oiCache.Add(od, &exp.ObjectInfo)
    			}
    
    			var done bool
    			// DeleteObject(deletePrefix: true) to expire all versions of an object
    			for _, exp := range toExpireAll {
    				var success bool
    				for attempts := 1; attempts <= retryAttempts; attempts++ {
    					select {
    					case <-ctx.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	ReplicationSourceLegalholdTimestamp time.Time // set if MinIOSourceObjectLegalholdTimestamp received
    	ReplicationSourceRetentionTimestamp time.Time // set if MinIOSourceObjectRetentionTimestamp received
    	DeletePrefix                        bool      // set true to enforce a prefix deletion, only application for DeleteObject API,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    				stopFn := globalRebalanceMetrics.log(rebalanceMetricRebalanceRemoveObject, poolIdx, bucket, entry.name)
    				_, err := set.DeleteObject(ctx,
    					bucket,
    					encodeDirObject(entry.name),
    					ObjectOptions{
    						DeletePrefix:       true, // use prefix delete to delete all versions at once.
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    						NoAuditLog:         true,
    					},
    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/erasure-server-pool-decom.go

    				stopFn := globalDecommissionMetrics.log(decomMetricDecommissionRemoveObject, idx, bi.Name, entry.name)
    				_, err := set.DeleteObject(ctx,
    					bi.Name,
    					encodeDirObject(entry.name),
    					ObjectOptions{
    						DeletePrefix:       true, // use prefix delete to delete all versions at once.
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    						NoAuditLog:         true,
    					},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    	opts.Versioned = globalBucketVersioningSys.PrefixEnabled(obj.Bucket, obj.Name)
    	opts.VersionSuspended = globalBucketVersioningSys.PrefixSuspended(obj.Bucket, obj.Name)
    
    	if lcEvent.Action.DeleteAll() {
    		opts.DeletePrefix = true
    		// use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    		opts.DeletePrefixObject = true
    	}
    	var (
    		dobj ObjectInfo
    		err  error
    	)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top