Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 47 of 47 for DeleteMarker (0.12 sec)

  1. cmd/erasure-metadata.go

    		Bucket:           bucket,
    		Name:             object,
    		ParityBlocks:     fi.Erasure.ParityBlocks,
    		DataBlocks:       fi.Erasure.DataBlocks,
    		VersionID:        versionID,
    		IsLatest:         fi.IsLatest,
    		DeleteMarker:     fi.Deleted,
    		Size:             fi.Size,
    		ModTime:          fi.ModTime,
    		Legacy:           fi.XLV1,
    		ContentType:      fi.Metadata["content-type"],
    		ContentEncoding:  fi.Metadata["content-encoding"],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    		return false
    	}
    	if !fi.ModTime.Equal(ofi.ModTime) {
    		return false
    	}
    	return fi.Erasure.Equal(ofi.Erasure)
    }
    
    // GetDataDir returns an expected dataDir given FileInfo
    //   - deleteMarker returns "delete-marker"
    //   - returns "legacy" if FileInfo is XLV1 and DataDir is
    //     empty, returns DataDir otherwise
    //   - returns "dataDir"
    func (fi FileInfo) GetDataDir() string {
    	if fi.Deleted {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	r := regexp.MustCompile(
    		`<ListVersionsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">.*` +
    			`<DeleteMarker><Key>file.1</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
    			`<Version><Key>file.1</Key>.*<IsLatest>false</IsLatest>.*</Version>` +
    			`<DeleteMarker><Key>file.2</Key>.*<IsLatest>true</IsLatest>.*</DeleteMarker>` +
    			`<Version><Key>file.2</Key>.*<IsLatest>false</IsLatest>.*</Version>` +
    			`</ListVersionsResult>`)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    							VersionID:         versionID,
    							MTime:             version.ModTime,
    							DeleteReplication: version.ReplicationState,
    							SrcPoolIdx:        poolIdx,
    							DataMovement:      true,
    							DeleteMarker:      true, // make sure we create a delete marker
    							SkipRebalancing:   true, // make sure we skip the decommissioned pool
    							NoAuditLog:        true,
    						})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    							VersionID:          versionID,
    							MTime:              version.ModTime,
    							DeleteReplication:  version.ReplicationState,
    							SrcPoolIdx:         idx,
    							DataMovement:       true,
    							DeleteMarker:       true, // make sure we create a delete marker
    							SkipDecommissioned: true, // make sure we skip the decommissioned pool
    							NoAuditLog:         true,
    						})
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			if err != nil {
    				continue
    			}
    
    			if oi.DeleteMarker {
    				sizeS.deleteMarkers++
    			}
    			if oi.VersionID != "" && sz == actualSz {
    				sizeS.versions++
    			}
    			sizeS.totalSize += sz
    
    			// Skip tier accounting if object version is a delete-marker or a free-version
    			// tracking deleted transitioned objects
    			switch {
    			case oi.DeleteMarker, oi.TransitionedObject.FreeVersion:
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if fileInfoPostHeal.NumVersions != 2 {
    		t.Fatalf("Expected versions 2, got %d", fileInfoPreHeal.NumVersions)
    	}
    
    	if objInfo.DeleteMarker {
    		if _, err = objLayer.DeleteObject(ctx, bucket, object, ObjectOptions{
    			Versioned: true,
    			VersionID: objInfo.VersionID,
    		}); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top