Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkReplicateDelete (0.39 sec)

  1. cmd/bucket-replication-utils.go

    				delete(userDefined, k)
    				userDefined[targetResetHeader(rcfg.Config.RoleArn)] = v
    			}
    		}
    	}
    
    	var dsc ReplicateDecision
    	if oi.DeleteMarker || !oi.VersionPurgeStatus.Empty() {
    		dsc = checkReplicateDelete(GlobalContext, oi.Bucket, ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: oi.Name,
    				VersionID:  oi.VersionID,
    			},
    		}, oi, ObjectOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    		// All deletes on directory objects needs to be for `nullVersionID`
    		if isDirObject(object.ObjectName) && object.VersionID == "" {
    			object.VersionID = nullVersionID
    		}
    
    		if replicateDeletes {
    			dsc = checkReplicateDelete(ctx, bucket, ObjectToDelete{
    				ObjectV: ObjectV{
    					ObjectName: object.ObjectName,
    					VersionID:  object.VersionID,
    				},
    			}, goi, opts, gerr)
    			if dsc.ReplicateAny() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    func isStandardHeader(matchHeaderKey string) bool {
    	return equals(matchHeaderKey, standardHeaders...)
    }
    
    // returns whether object version is a deletemarker and if object qualifies for replication
    func checkReplicateDelete(ctx context.Context, bucket string, dobj ObjectToDelete, oi ObjectInfo, delOpts ObjectOptions, gerr error) (dsc ReplicateDecision) {
    	rcfg, err := getReplicationConfig(ctx, bucket)
    	if err != nil || rcfg == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	opts.SetEvalMetadataFn(func(oi *ObjectInfo, gerr error) (dsc ReplicateDecision, err error) {
    		if replica { // no need to check replication on receiver
    			return dsc, nil
    		}
    		dsc = checkReplicateDelete(ctx, bucket, ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: object,
    				VersionID:  opts.VersionID,
    			},
    		}, *oi, opts, gerr)
    		// Mutations of objects on versioning suspended buckets
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top