Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DeleteMarker (0.14 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/batch-handlers.go

    			// on the pool being batch replicated from source.
    			Versioned:          true,
    			MTime:              srcObjInfo.ModTime,
    			DeleteMarker:       srcObjInfo.DeleteMarker,
    			ReplicationRequest: true,
    		})
    		return err
    	}
    
    	opts := ObjectOptions{
    		VersionID:    srcObjInfo.VersionID,
    		MTime:        srcObjInfo.ModTime,
    		PreserveETag: srcObjInfo.ETag,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. 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)
  5. cmd/object-api-datatypes_gen.go

    			z.IsLatest, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "IsLatest")
    				return
    			}
    		case "DeleteMarker":
    			z.DeleteMarker, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "DeleteMarker")
    				return
    			}
    		case "TransitionedObject":
    			bts, err = z.TransitionedObject.UnmarshalMsg(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    				}
    				return nil
    			}
    
    			// Delete marker already present we are not going to create new delete markers.
    			if pinfo.ObjInfo.DeleteMarker && obj.VersionID == "" {
    				dobjects[j] = DeletedObject{
    					DeleteMarker:          pinfo.ObjInfo.DeleteMarker,
    					DeleteMarkerVersionID: pinfo.ObjInfo.VersionID,
    					DeleteMarkerMTime:     DeleteMarkerMTime{pinfo.ObjInfo.ModTime},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils_gen.go

    		case "ReplicaStatus":
    			err = z.ReplicaStatus.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicaStatus")
    				return
    			}
    		case "DeleteMarker":
    			z.DeleteMarker, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "DeleteMarker")
    				return
    			}
    		case "ReplicationTimeStamp":
    			z.ReplicationTimeStamp, err = dc.ReadTime()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    		},
    		{
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{
    					Name:         "unique/folder/",
    					DeleteMarker: true,
    				},
    				{
    					Name:         "unique/folder/",
    					DeleteMarker: false,
    				},
    				{
    					Name:         "unique/folder/1.txt",
    					DeleteMarker: false,
    				},
    			},
    		},
    	}
    
    	testCases := []struct {
    		// Inputs to ListObjects.
    		bucketName string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			opts := ObjectOpts{
    				Name:             tc.objectName,
    				UserTags:         tc.objectTags,
    				ModTime:          tc.objectModTime,
    				DeleteMarker:     tc.isDelMarker,
    				IsLatest:         !tc.isNoncurrent,
    				SuccessorModTime: tc.objectSuccessorModTime,
    				VersionID:        tc.versionID,
    			}
    			opts.NumVersions = 1
    			if tc.hasManyVersions {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    		}
    
    		eventName := event.ObjectRemovedDelete
    		objInfo := ObjectInfo{
    			Name:         dobj.ObjectName,
    			VersionID:    dobj.VersionID,
    			DeleteMarker: dobj.DeleteMarker,
    		}
    
    		if objInfo.DeleteMarker {
    			objInfo.VersionID = dobj.DeleteMarkerVersionID
    			eventName = event.ObjectRemovedDeleteMarkerCreated
    		}
    
    		sendEvent(eventArgs{
    			EventName:    eventName,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top