Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deletePrefix (0.28 sec)

  1. cmd/erasure-server-pool.go

    		}
    	}
    
    	return z.serverPools[idx].PutObject(ctx, bucket, object, data, opts)
    }
    
    func (z *erasureServerPools) deletePrefix(ctx context.Context, bucket string, prefix string) error {
    	for _, pool := range z.serverPools {
    		if _, err := pool.DeleteObject(ctx, bucket, prefix, ObjectOptions{DeletePrefix: true}); err != nil {
    			return err
    		}
    	}
    	return 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)
  2. cmd/erasure-object.go

    				Recursive: true,
    			})
    		}, index)
    	}
    
    	return reduceWriteQuorumErrs(ctx, g.Wait(), objectOpIgnoredErrs, writeQuorum)
    }
    
    func (er erasureObjects) deletePrefix(ctx context.Context, bucket, prefix string) error {
    	disks := er.getDisks()
    	// Assume (N/2 + 1) quorum for Delete()
    	// this is a theoretical assumption such that
    	// for delete's we do not need to honor storage
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top