Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for DeleteMarker (0.1 sec)

  1. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "c2test", VersionID: "vid", DeleteMarker: true, SSEC: true, OpType: DeleteReplicationType}, cfgs[1], false}, // 14. permanent delete of version, disqualified by SSE-C & DeleteReplication status
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/api-datatypes.go

    	"time"
    )
    
    // DeletedObject objects deleted
    type DeletedObject struct {
    	DeleteMarker          bool   `xml:"DeleteMarker,omitempty"`
    	DeleteMarkerVersionID string `xml:"DeleteMarkerVersionId,omitempty"`
    	ObjectName            string `xml:"Key,omitempty"`
    	VersionID             string `xml:"VersionId,omitempty"`
    	// MTime of DeleteMarker on source that needs to be propagated to replica
    	DeleteMarkerMTime DeleteMarkerMTime `xml:"-"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/expiration.go

    func (e Expiration) Validate() error {
    	if !e.set {
    		return nil
    	}
    
    	// DeleteMarker cannot be specified if date or dates are specified.
    	if (!e.IsDaysNull() || !e.IsDateNull()) && e.DeleteMarker.set {
    		return errLifecycleInvalidDeleteMarker
    	}
    
    	if !e.DeleteMarker.set && !e.DeleteAll.set && e.IsDaysNull() && e.IsDateNull() {
    		return errXMLNotWellFormed
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    			return true
    		}
    		if !rule.Expiration.IsDateNull() && rule.Expiration.Date.Before(time.Now().UTC()) {
    			return true
    		}
    		if !rule.Expiration.IsDaysNull() {
    			return true
    		}
    		if rule.Expiration.DeleteMarker.val {
    			return true
    		}
    		if !rule.Transition.IsDateNull() && rule.Transition.Date.Before(time.Now().UTC()) {
    			return true
    		}
    		if !rule.Transition.IsNull() { // this allows for Transition.Days to be zero.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. internal/bucket/replication/rule_test.go

    			opts:           ObjectOpts{Name: "c1test", DeleteMarker: false, OpType: ObjectReplicationType, Replica: false}, // 1. Replica mod sync enabled; not a replica
    			expectedResult: true,
    		},
    		// case 2 - rule with replica modification disabled; a replica
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes.go

    	VersionID string
    
    	// IsLatest indicates if this is the latest current version
    	// latest can be true for delete marker or a version.
    	IsLatest bool
    
    	// DeleteMarker indicates if the versionId corresponds
    	// to a delete marker on an object.
    	DeleteMarker bool
    
    	// Transitioned object information
    	TransitionedObject TransitionedObject
    
    	// RestoreExpires indicates date a restored object expires
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2-legacy.go

    	if err == nil && j.Type == DeleteType && v < 2 {
    		if val, ok := j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp]; ok {
    			tm, err := time.Parse(time.RFC3339Nano, string(val))
    			if err == nil {
    				j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp] = []byte(tm.UTC().Format(time.RFC3339Nano))
    			}
    		}
    		if val, ok := j.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "DeleteMarker")
    					return
    				}
    				z.DeleteMarker = nil
    			} else {
    				if z.DeleteMarker == nil {
    					z.DeleteMarker = new(xlMetaV2DeleteMarker)
    				}
    				err = z.DeleteMarker.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "DeleteMarker")
    					return
    				}
    			}
    			zb0001Mask |= 0x4
    		case "v":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-free-version.go

    		}
    		freeEntry := xlMetaV2Version{Type: DeleteType, WrittenByVersion: globalVersionUnix}
    		freeEntry.DeleteMarker = &xlMetaV2DeleteMarker{
    			VersionID: vID,
    			ModTime:   j.ModTime, // fi.ModTime may be empty
    			MetaSys:   make(map[string][]byte),
    		}
    
    		freeEntry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+freeVersion] = []byte{}
    		tierKey := ReservedMetadataPrefixLower + TransitionTier
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. cmd/bucket-replication-utils.go

    	ReplicaTimeStamp          time.Time              // timestamp when last replica update was received
    	ReplicaStatus             replication.StatusType // replica statusstringis
    	DeleteMarker              bool                   // represents DeleteMarker replication state
    	ReplicationTimeStamp      time.Time              // timestamp when last replication activity happened
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top