Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for VersionPurgeStatus (0.12 sec)

  1. cmd/bucket-replication-utils.go

    		return replication.Completed
    	}
    	return replication.Pending
    }
    
    func (ri replicatedInfos) VersionPurgeStatus() VersionPurgeStatusType {
    	if len(ri.Targets) == 0 {
    		return VersionPurgeStatusType("")
    	}
    	completed := 0
    	for _, v := range ri.Targets {
    		switch v.VersionPurgeStatus {
    		case Failed:
    			return Failed
    		case Complete:
    			completed++
    		}
    	}
    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/object-api-datatypes.go

    		versionOnly:                o.versionOnly,
    		keyRotation:                o.keyRotation,
    		AccTime:                    o.AccTime,
    		Legacy:                     o.Legacy,
    		VersionPurgeStatus:         o.VersionPurgeStatus,
    		NumVersions:                o.NumVersions,
    		SuccessorModTime:           o.SuccessorModTime,
    		ReplicationStatusInternal:  o.ReplicationStatusInternal,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    		if st, ok := fi.Metadata[xhttp.AmzBucketReplicationStatus]; ok && st == string(replication.Replica) {
    			objInfo.ReplicationStatus = replication.StatusType(st)
    		}
    	}
    	objInfo.VersionPurgeStatus = fi.VersionPurgeStatus()
    
    	objInfo.TransitionedObject = TransitionedObject{
    		Name:        fi.TransitionedObjName,
    		VersionID:   fi.TransitionVersionID,
    		Status:      fi.TransitionStatus,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    			}
    			// can be the case that other cluster is down and duplicate `mc rm --vid`
    			// is issued - this still needs to be replicated back to the other target
    			if !oi.VersionPurgeStatus.Empty() {
    				replicate = oi.VersionPurgeStatus == Pending || oi.VersionPurgeStatus == Failed
    				dsc.Set(newReplicateTargetDecision(tgtArn, replicate, sync))
    			}
    			continue
    		}
    		tgt := globalBucketTargetSys.GetRemoteTargetClient(bucket, tgtArn)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    	o = msgp.AppendString(o, z.VersionPurgeStatusInternal)
    	// string "VersionPurgeStatus"
    	o = append(o, 0xb2, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73)
    	o, err = z.VersionPurgeStatus.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "VersionPurgeStatus")
    		return
    	}
    	// string "NumVersions"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. 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)
  7. cmd/object-api-interface.go

    func (o *ObjectOptions) DeleteMarkerReplicationStatus() replication.StatusType {
    	return o.DeleteReplication.CompositeReplicationStatus()
    }
    
    // VersionPurgeStatus - returns version purge status from DeleteReplication state in ObjectOptions
    func (o *ObjectOptions) VersionPurgeStatus() VersionPurgeStatusType {
    	return o.DeleteReplication.CompositeVersionPurgeStatus()
    }
    
    // SetDeleteReplicationState sets the delete replication options.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. cmd/bucket-object-lock.go

    	if gerr != nil { // error from GetObjectInfo
    		if _, ok := gerr.(MethodNotAllowed); ok {
    			// This happens usually for a delete marker
    			if oi.DeleteMarker || !oi.VersionPurgeStatus.Empty() {
    				// Delete marker should be present and valid.
    				return nil
    			}
    		}
    		if isErrObjectNotFound(gerr) || isErrVersionNotFound(gerr) {
    			return nil
    		}
    		return gerr
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    			markDelete = false
    		}
    		if opts.VersionPurgeStatus().Empty() && opts.DeleteMarkerReplicationStatus().Empty() {
    			markDelete = false
    		}
    		if opts.VersionPurgeStatus() == Complete {
    			markDelete = false
    		}
    		// now, since VersionPurgeStatus() is already set, we can let the
    		// lower layers decide this. This fixes a regression that was introduced
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    	tgtPrefix := r.Target.Prefix
    	srcObject := srcObjInfo.Name
    	s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3
    
    	if srcObjInfo.DeleteMarker || !srcObjInfo.VersionPurgeStatus.Empty() {
    		if retry && !s3Type {
    			if _, err := c.StatObject(ctx, tgtBucket, pathJoin(tgtPrefix, srcObject), miniogo.StatObjectOptions{
    				VersionID: srcObjInfo.VersionID,
    				Internal: miniogo.AdvancedGetOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top