Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IsDeleteMarker (0.19 sec)

  1. cmd/api-response.go

    type ObjectVersion struct {
    	Object
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    
    	isDeleteMarker bool
    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    		start.Name.Local = "DeleteMarker"
    	} else {
    		start.Name.Local = "Version"
    	}
    	type objectVersionWrapper ObjectVersion
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    				continue
    			}
    			if obj.Key != prevObj {
    				prevObj = obj.Key
    				// skip replication of delete marker and all versions under the same object name if one of source or target is s3.
    				skipReplicate = obj.IsDeleteMarker && s3Type
    			}
    			if skipReplicate {
    				continue
    			}
    
    			wk.Take()
    			go func() {
    				defer wk.Give()
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricReplication, job.ID, attempts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	}
    	if vers == 0 {
    		return true
    	}
    	isDeleteMarker := false
    
    	_ = decodeVersions(buf, vers, func(idx int, hdr, _ []byte) error {
    		var xl xlMetaV2VersionHeader
    		if _, err := xl.unmarshalV(headerV, hdr); err != nil {
    			return errDoneForNow
    		}
    		isDeleteMarker = xl.Type == DeleteType
    		return errDoneForNow
    	})
    	return isDeleteMarker
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. cmd/bucket-replication.go

    		return replicateNone
    	}
    	sz, _ := oi1.GetActualSize()
    
    	// needs full replication
    	if oi1.ETag != oi2.ETag ||
    		oi1.VersionID != oi2.VersionID ||
    		sz != oi2.Size ||
    		oi1.DeleteMarker != oi2.IsDeleteMarker ||
    		oi1.ModTime.Unix() != oi2.LastModified.Unix() {
    		return replicateAll
    	}
    
    	if oi1.ContentType != oi2.ContentType {
    		return replicateMetadata
    	}
    
    	if oi1.ContentEncoding != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top