Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DeleteMarkerReplicationStatus (0.17 sec)

  1. cmd/api-datatypes.go

    	VersionID  string `xml:"VersionId"`
    }
    
    // ObjectToDelete carries key name for the object to delete.
    type ObjectToDelete struct {
    	ObjectV
    	// Replication status of DeleteMarker
    	DeleteMarkerReplicationStatus string `xml:"DeleteMarkerReplicationStatus"`
    	// Status of versioned delete (of object or DeleteMarker)
    	VersionPurgeStatus VersionPurgeStatusType `xml:"VersionPurgeStatus"`
    	// VersionPurgeStatuses holds the internal
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    func (o ObjectToDelete) ReplicationState() ReplicationState {
    	r := ReplicationState{
    		ReplicationStatusInternal:  o.DeleteMarkerReplicationStatus,
    		VersionPurgeStatusInternal: o.VersionPurgeStatuses,
    		ReplicateDecisionStr:       o.ReplicateDecisionStr,
    	}
    
    	r.Targets = replicationStatusesMap(o.DeleteMarkerReplicationStatus)
    	r.PurgeTargets = versionPurgeStatusesMap(o.VersionPurgeStatuses)
    	return r
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. cmd/xl-storage-free-version_test.go

    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted: false,
    		// DeleteMarkerReplicationStatus: "",
    		// VersionPurgeStatus:            "",
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	fi.SetTierFreeVersionID(uuid.New().String())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    	}
    	updateVersion := false
    	if fi.VersionPurgeStatus().Empty() && (fi.DeleteMarkerReplicationStatus() == "REPLICA" || fi.DeleteMarkerReplicationStatus().Empty()) {
    		updateVersion = fi.MarkDeleted
    	} else {
    		// for replication scenario
    		if fi.Deleted && fi.VersionPurgeStatus() != Complete {
    			if !fi.VersionPurgeStatus().Empty() || fi.DeleteMarkerReplicationStatus().Empty() {
    				updateVersion = true
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. cmd/object-api-interface.go

    	o.DeleteReplication.ReplicaStatus = st
    	o.DeleteReplication.ReplicaTimeStamp = UTCNow()
    }
    
    // DeleteMarkerReplicationStatus - returns replication status of delete marker from DeleteReplication state in ObjectOptions
    func (o *ObjectOptions) DeleteMarkerReplicationStatus() replication.StatusType {
    	return o.DeleteReplication.CompositeReplicationStatus()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    func (fi *FileInfo) ReplicationStatus() replication.StatusType {
    	return fi.ReplicationState.CompositeReplicationStatus()
    }
    
    // DeleteMarkerReplicationStatus returns overall replication status for this delete marker version across targets
    func (fi *FileInfo) DeleteMarkerReplicationStatus() replication.StatusType {
    	if fi.Deleted {
    		return fi.ReplicationState.CompositeReplicationStatus()
    	}
    	return replication.StatusType("")
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    			}, goi, opts, gerr)
    			if dsc.ReplicateAny() {
    				if object.VersionID != "" {
    					object.VersionPurgeStatus = Pending
    					object.VersionPurgeStatuses = dsc.PendingStatus()
    				} else {
    					object.DeleteMarkerReplicationStatus = dsc.PendingStatus()
    				}
    				object.ReplicateDecisionStr = dsc.String()
    			}
    		}
    		if object.VersionID != "" && hasLockEnabled {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	if opts.VersionID != "" {
    		// case where replica version needs to be deleted on target cluster
    		if versionFound && opts.DeleteMarkerReplicationStatus() == replication.Replica {
    			markDelete = false
    		}
    		if opts.VersionPurgeStatus().Empty() && opts.DeleteMarkerReplicationStatus().Empty() {
    			markDelete = false
    		}
    		if opts.VersionPurgeStatus() == Complete {
    			markDelete = false
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    			mu.Lock()
    			rinfos.Targets = append(rinfos.Targets, tgtInfo)
    			mu.Unlock()
    		}(tgtClnt)
    	}
    	wg.Wait()
    
    	replicationStatus = rinfos.ReplicationStatus()
    	prevStatus := dobj.DeleteMarkerReplicationStatus()
    
    	if dobj.VersionID != "" {
    		prevStatus = replication.StatusType(dobj.VersionPurgeStatus())
    		replicationStatus = replication.StatusType(rinfos.VersionPurgeStatus())
    	}
    
    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