Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for VersionID (0.09 sec)

  1. cmd/bucket-replication.go

    func (di DeletedObjectReplicationInfo) ToMRFEntry() MRFReplicateEntry {
    	versionID := di.DeleteMarkerVersionID
    	if versionID == "" {
    		versionID = di.VersionID
    	}
    	return MRFReplicateEntry{
    		Bucket:    di.Bucket,
    		Object:    di.ObjectName,
    		versionID: versionID,
    	}
    }
    
    // Replication specific APIName
    const (
    	ReplicateObjectAPI = "ReplicateObject"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    					decommissioned++
    					stopFn(version.Size, errors.New("DELETE marked object with no other non-current versions will be skipped"))
    					continue
    				}
    
    				versionID := version.VersionID
    				if versionID == "" {
    					versionID = nullVersionID
    				}
    
    				var failure, ignore bool
    				if version.Deleted {
    					_, err := z.DeleteObject(ctx,
    						bi.Name,
    						version.Name,
    						ObjectOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    				Code:      apiErr.Code,
    				Message:   apiErr.Description,
    				Key:       object.ObjectName,
    				VersionID: object.VersionID,
    			}
    			continue
    		}
    		if object.VersionID != "" && object.VersionID != nullVersionID {
    			if _, err := uuid.Parse(object.VersionID); err != nil {
    				apiErr := errorCodes.ToAPIErr(ErrNoSuchVersion)
    				deleteResults[index].errInfo = DeleteError{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. internal/logger/reqinfo.go

    const contextLogKey = contextKeyType("miniolog")
    
    // KeyVal - appended to ReqInfo.Tags
    type KeyVal struct {
    	Key string
    	Val string
    }
    
    // ObjectVersion object version key/versionId
    type ObjectVersion struct {
    	ObjectName string
    	VersionID  string `json:"VersionId,omitempty"`
    }
    
    // ReqInfo stores the request info.
    // Reading/writing directly to struct requires appropriate R/W lock.
    type ReqInfo struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    	oi.keyRotation = true
    	for k, v := range encMetadata {
    		oi.UserDefined[k] = v
    	}
    	if _, err := api.CopyObject(ctx, r.Bucket, oi.Name, r.Bucket, oi.Name, oi, ObjectOptions{
    		VersionID: oi.VersionID,
    	}, ObjectOptions{
    		VersionID: oi.VersionID,
    		NoLock:    true,
    	}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    const (
    	batchKeyRotationName               = "batch-rotate.bin"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. docs/debugging/inspect/export.go

    	}
    	o = bts
    	return
    }
    
    func (z xlMetaV2VersionHeaderV2) MarshalJSON() (o []byte, e error) {
    	tmp := struct {
    		VersionID string
    		ModTime   time.Time
    		Signature string
    		Type      uint8
    		Flags     uint8
    	}{
    		VersionID: hex.EncodeToString(z.VersionID[:]),
    		ModTime:   time.Unix(0, z.ModTime),
    		Signature: hex.EncodeToString(z.Signature[:]),
    		Type:      z.Type,
    		Flags:     z.Flags,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2-legacy.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 4 {
    		err = msgp.ArrayError{Wanted: 4, Got: zb0001}
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (x.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	x.ModTime, bts, err = msgp.ReadInt64Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	{
    		var zb0002 uint8
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    				} else {
    					bgSeq.countFailed(madmin.HealItemObject)
    					result = healEntryFailure(uint64(version.Size))
    					if version.VersionID != "" {
    						healingLogIf(ctx, fmt.Errorf("unable to heal object %s/%s (version-id=%s): %w",
    							bucket, version.Name, version.VersionID, err))
    					} else {
    						healingLogIf(ctx, fmt.Errorf("unable to heal object %s/%s: %w",
    							bucket, version.Name, err))
    					}
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    							bucket:    bucket,
    							object:    fiv.Name,
    							versionID: ver.VersionID,
    						}, madmin.HealItemObject)
    						stopFn(int(ver.Size))
    						if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    							if err != nil {
    								scannerLogIf(ctx, fmt.Errorf("%w, Object %s/%s/%s", err, bucket, fiv.Name, ver.VersionID))
    							}
    						}
    						if err == nil {
    							successVersions++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. cmd/data-scanner_test.go

    	close(workers[0])
    	wg.Wait()
    	for _, obj := range expired {
    		switch obj.ObjectV.VersionID {
    		case uuids[2].String(), uuids[3].String(), uuids[4].String():
    		default:
    			t.Errorf("Unexpected versionID being expired: %#v\n", obj)
    		}
    	}
    }
    
    func TestEvalActionFromLifecycle(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top