Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for VersionPurgeStatus (0.11 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/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)
  5. 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)
  6. cmd/metacache-entries.go

    				if vidMarkerIdx >= 0 {
    					fiVersions = fiVersions[vidMarkerIdx+1:]
    				}
    				afterV = ""
    			}
    
    			for _, version := range fiVersions {
    				if !version.VersionPurgeStatus().Empty() {
    					continue
    				}
    				versioned := vcfg != nil && vcfg.Versioned(entry.name)
    				versions = append(versions, version.ToObjectInfo(bucket, entry.name, versioned))
    			}
    
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    func (r *BatchJobKeyRotateV1) KeyRotate(ctx context.Context, api ObjectLayer, objInfo ObjectInfo) error {
    	srcBucket := r.Bucket
    	srcObject := objInfo.Name
    
    	if objInfo.DeleteMarker || !objInfo.VersionPurgeStatus.Empty() {
    		return nil
    	}
    	sseKMS := crypto.S3KMS.IsEncrypted(objInfo.UserDefined)
    	sseS3 := crypto.S3.IsEncrypted(objInfo.UserDefined)
    	if !sseKMS && !sseS3 { // neither sse-s3 nor sse-kms disallowed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    				} else {
    					console.Debugf(applyActionsLogPrefix+" lifecycle: %s is locked, not deleting\n", obj.Name)
    				}
    			}
    			return lifecycle.Event{Action: lifecycle.NoneAction}
    		}
    		if rcfg != nil && !obj.VersionPurgeStatus.Empty() && rcfg.HasActiveRules(obj.Name, true) {
    			return lifecycle.Event{Action: lifecycle.NoneAction}
    		}
    	}
    
    	return event
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top