Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for VersionPurgeStatus (0.33 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/api-datatypes.go

    	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
    	VersionPurgeStatuses string `xml:"VersionPurgeStatuses"`
    	// ReplicateDecisionStr stringified representation of replication decision
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/xl-storage-free-version_test.go

    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted: false,
    		// DeleteMarkerReplicationStatus: "",
    		// VersionPurgeStatus:            "",
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	fi.SetTierFreeVersionID(uuid.New().String())
    	// Test if free version is created when SkipTier wasn't set on fi
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top