Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 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/site-replication.go

    }
    
    // SRBucketDeleteOp - type of delete op
    type SRBucketDeleteOp string
    
    const (
    	// MarkDelete creates .minio.sys/buckets/.deleted/<bucket> vol entry to hold onto deleted bucket's state
    	// until peers are synced in site replication setup.
    	MarkDelete SRBucketDeleteOp = "MarkDelete"
    
    	// Purge deletes the .minio.sys/buckets/.deleted/<bucket> vol entry
    	Purge SRBucketDeleteOp = "Purge"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  3. 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)
  4. cmd/xl-storage-free-version_test.go

    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	// Add a version with local content
    	fatalErr(xl.AddVersion(fi))
    	report()
    
    	// Add null version with tiered content
    	tierfi := 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)
  5. cmd/xl-storage-format-utils_test.go

    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	xl := xlMetaV2{}
    	var versions []FileInfo
    	var allVersionIDs, freeVersionIDs []string
    	for i := 0; i < 5; i++ {
    		fi := basefi
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/xl-storage-format-v2_test.go

    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		Data:             data,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    
    	failOnErr(xl.AddVersion(fi))
    
    	fi.VersionID = mustGetUUID()
    	fi.DataDir = mustGetUUID()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. 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)
  10. 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