Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for DeleteMarker (0.16 sec)

  1. internal/bucket/lifecycle/delmarker-expiration.go

    }
    
    // NextDue returns upcoming DelMarkerExpiration date for obj if
    // applicable, returns false otherwise.
    func (de DelMarkerExpiration) NextDue(obj ObjectOpts) (time.Time, bool) {
    	if !obj.IsLatest || !obj.DeleteMarker {
    		return time.Time{}, false
    	}
    
    	return ExpectedExpiryTime(obj.ModTime, de.Days), true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    	defer auditLogLifecycle(ctx, *oi, ILMExpiry, tags, traceFn)
    
    	eventName := event.ObjectRemovedDelete
    	if oi.DeleteMarker {
    		eventName = event.ObjectRemovedDeleteMarkerCreated
    	}
    	objInfo := ObjectInfo{
    		Name:         oi.Name,
    		VersionID:    oi.VersionID,
    		DeleteMarker: oi.DeleteMarker,
    	}
    	// Notify object deleted event.
    	sendEvent(eventArgs{
    		EventName:  eventName,
    		BucketName: oi.Bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes_gen.go

    			z.IsLatest, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "IsLatest")
    				return
    			}
    		case "DeleteMarker":
    			z.DeleteMarker, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "DeleteMarker")
    				return
    			}
    		case "TransitionedObject":
    			bts, err = z.TransitionedObject.UnmarshalMsg(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    				}
    				return nil
    			}
    
    			// Delete marker already present we are not going to create new delete markers.
    			if pinfo.ObjInfo.DeleteMarker && obj.VersionID == "" {
    				dobjects[j] = DeletedObject{
    					DeleteMarker:          pinfo.ObjInfo.DeleteMarker,
    					DeleteMarkerVersionID: pinfo.ObjInfo.VersionID,
    					DeleteMarkerMTime:     DeleteMarkerMTime{pinfo.ObjInfo.ModTime},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_gen.go

    		case "ReplicaStatus":
    			err = z.ReplicaStatus.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicaStatus")
    				return
    			}
    		case "DeleteMarker":
    			z.DeleteMarker, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "DeleteMarker")
    				return
    			}
    		case "ReplicationTimeStamp":
    			z.ReplicationTimeStamp, err = dc.ReadTime()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    func (ef BatchJobExpireFilter) Matches(obj ObjectInfo, now time.Time) bool {
    	switch ef.Type {
    	case BatchJobExpireObject:
    		if obj.DeleteMarker {
    			return false
    		}
    	case BatchJobExpireDeleted:
    		if !obj.DeleteMarker {
    			return false
    		}
    	default:
    		// we should never come here, Validate should have caught this.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. internal/bucket/replication/replication.go

    // ObjectOpts provides information to deduce whether replication
    // can be triggered on the resultant object.
    type ObjectOpts struct {
    	Name           string
    	UserTags       string
    	VersionID      string
    	DeleteMarker   bool
    	SSEC           bool
    	OpType         Type
    	Replica        bool
    	ExistingObject bool
    	TargetArn      string
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. cmd/object-handlers.go

    		// 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}
    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(objInfo.DeleteMarker)}
    		}
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    	}
    	opts.PartNumber = partNumber
    	opts.VersionID = vid
    
    	delMarker, err := parseBoolHeader(bucket, object, r.Header, xhttp.MinIOSourceDeleteMarker)
    	if err != nil {
    		return opts, err
    	}
    	opts.DeleteMarker = delMarker
    
    	replReadyCheck, err := parseBoolHeader(bucket, object, r.Header, xhttp.MinIOCheckDMReplicationReady)
    	if err != nil {
    		return opts, err
    	}
    	opts.CheckDMReplicationReady = replReadyCheck
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. docs/bucket/replication/README.md

    in [AWS V1 Configuration](https://aws.amazon.com/blogs/storage/managing-delete-marker-replication-in-amazon-s3/) but not in V2 configuration. The MinIO implementation above is based on V2 configuration, however it has been extended to allow both DeleteMarker replication and replication of versioned deletes with the `DeleteMarkerReplication` and `DeleteReplication` fields in the replication configuration above. By default, this is set to `Disabled` unless the user specifies it while adding a replication...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top