Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DeleteMarker (0.07 sec)

  1. cmd/xl-storage-format-v2_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "DeleteMarker")
    					return
    				}
    				z.DeleteMarker = nil
    			} else {
    				if z.DeleteMarker == nil {
    					z.DeleteMarker = new(xlMetaV2DeleteMarker)
    				}
    				err = z.DeleteMarker.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "DeleteMarker")
    					return
    				}
    			}
    			zb0001Mask |= 0x4
    		case "v":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    			case replication.Replica:
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaStatus] = []byte(fi.ReplicationState.ReplicaStatus)
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp] = []byte(fi.ReplicationState.ReplicaTimeStamp.UTC().Format(time.RFC3339Nano))
    			default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. cmd/erasure-object.go

    		//
    		// Regression introduced by #14555 was reintroduced in #15564
    		if versionFound {
    			if !goi.VersionPurgeStatus.Empty() {
    				deleteMarker = false
    			} else if !goi.DeleteMarker { // implies a versioned delete of object
    				deleteMarker = false
    			}
    		}
    	}
    
    	modTime := opts.MTime
    	if opts.MTime.IsZero() {
    		modTime = UTCNow()
    	}
    	fvID := mustGetUUID()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    	defer auditLogLifecycle(ctx, *oi, ILMExpiry, tags, traceFn)
    
    	eventName := event.ObjectRemovedDelete
    	if oi.DeleteMarker {
    		eventName = event.ObjectRemovedDeleteMarkerCreated
    	}
    	objInfo := ObjectInfo{
    		Name:         oi.Name,
    		VersionID:    oi.VersionID,
    		DeleteMarker: oi.DeleteMarker,
    	}
    	// Notify object deleted event.
    	sendEvent(eventArgs{
    		EventName:  eventName,
    		BucketName: oi.Bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    			return lifecycle.Event{Action: lifecycle.NoneAction}
    		}
    	}
    
    	return event
    }
    
    func applyTransitionRule(event lifecycle.Event, src lcEventSrc, obj ObjectInfo) bool {
    	if obj.DeleteMarker || obj.IsDir {
    		return false
    	}
    	globalTransitionState.queueTransitionTask(obj, event, src)
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	isDeleteMarker bool
    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    		start.Name.Local = "DeleteMarker"
    	} else {
    		start.Name.Local = "Version"
    	}
    	type objectVersionWrapper ObjectVersion
    	return e.EncodeElement(objectVersionWrapper(o), start)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
Back to top