Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for markDelete (0.07 sec)

  1. cmd/erasure-object.go

    	markDelete := goi.VersionID != ""
    
    	// Default deleteMarker to true if object is under versioning
    	deleteMarker := opts.Versioned
    
    	if opts.VersionID != "" {
    		// case where replica version needs to be deleted on target cluster
    		if versionFound && opts.DeleteMarkerReplicationStatus() == replication.Replica {
    			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)
  2. cmd/erasure-server-pool.go

    	}
    
    	err := z.s3Peer.DeleteBucket(ctx, bucket, opts)
    	if err == nil || isErrBucketNotFound(err) {
    		// If site replication is configured, hold on to deleted bucket state until sites sync
    		if opts.SRDeleteOp == MarkDelete {
    			z.s3Peer.MakeBucket(context.Background(), pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, bucket), MakeBucketOptions{})
    		}
    	}
    
    	if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    	return true
    }
    
    // ReplicationInfoEquals returns true if server-side replication related fields are equal, false otherwise.
    func (fi FileInfo) ReplicationInfoEquals(ofi FileInfo) bool {
    	switch {
    	case fi.MarkDeleted != ofi.MarkDeleted,
    		!fi.ReplicationState.Equal(ofi.ReplicationState):
    		return false
    	}
    	return true
    }
    
    // objectPartIndex - returns the index of matching object part number.
    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/storage-datatypes.go

    	// File metadata
    	Metadata map[string]string `msg:"meta"`
    
    	// All the parts per object.
    	Parts []ObjectPartInfo `msg:"parts"`
    
    	// Erasure info for all objects.
    	Erasure ErasureInfo `msg:"ei"`
    
    	MarkDeleted      bool             `msg:"md"` // mark this version as deleted
    	ReplicationState ReplicationState `msg:"rs"` // Internal replication state to be passed back in ObjectInfo
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    			return
    		}
    	}
    	err = z.Erasure.DecodeMsg(dc)
    	if err != nil {
    		err = msgp.WrapError(err, "Erasure")
    		return
    	}
    	z.MarkDeleted, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "MarkDeleted")
    		return
    	}
    	err = z.ReplicationState.DecodeMsg(dc)
    	if err != nil {
    		err = msgp.WrapError(err, "ReplicationState")
    		return
    	}
    	if dc.IsNil() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K 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)
Back to top