Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for VersionPurgeStatus (0.21 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++
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jan 03 09:28:52 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. 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"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K 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)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 112K bytes
    - Viewed (1)
  5. 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,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. 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,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19K bytes
    - Viewed (1)
  8. 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.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    		// specify a versionID.
    		objToDel := ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: decodeDirObject(dObjects[i].ObjectName),
    				VersionID:  dObjects[i].VersionID,
    			},
    			VersionPurgeStatus:            dObjects[i].VersionPurgeStatus(),
    			VersionPurgeStatuses:          dObjects[i].ReplicationState.VersionPurgeStatusInternal,
    			DeleteMarkerReplicationStatus: dObjects[i].ReplicationState.ReplicationStatusInternal,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top