Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 143 for VersionId (0.07 sec)

  1. cmd/bucket-object-lock.go

    	t, err := objectlock.UTCNowNTP()
    	if err != nil {
    		internalLogIf(ctx, err, logger.WarningKind)
    		return ObjectLocked{Bucket: oi.Bucket, Object: oi.Name, VersionID: oi.VersionID}
    	}
    
    	// Pass in relative days from current time, to additionally
    	// to verify "object-lock-remaining-retention-days" policy if any.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. docs/bucket/replication/delete-replication.sh

    ./mc cp README.md myminio1/foobucket/dir/file
    
    versionId="$(./mc ls --json --versions myminio1/foobucket/dir/ | jq -r .versionId)"
    
    kill ${pid2} && wait ${pid2} || true
    
    aws s3api --endpoint-url http://localhost:9001 delete-object --bucket foobucket --key dir/file --version-id "$versionId"
    
    out="$(./mc ls myminio1/foobucket/dir/)"
    if [ "$out" != "" ]; then
    	echo "BUG: non versioned listing should not show pending/failed replicated delete:"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    	storageEndpoints := er.getEndpoints()
    
    	// When versionID is empty, we read directly from the `null` versionID for healing.
    	if versionID == "" {
    		versionID = nullVersionID
    	}
    
    	// Perform quick read without lock.
    	// This allows to quickly check if all is ok or all are missing.
    	_, errs := readAllFileInfo(healCtx, storageDisks, "", bucket, object, versionID, false, false)
    	if isAllNotFound(errs) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    		correctIndexes)
    }
    
    // ToObjectInfo - Converts metadata to object info.
    func (fi FileInfo) ToObjectInfo(bucket, object string, versioned bool) ObjectInfo {
    	object = decodeDirObject(object)
    	versionID := fi.VersionID
    	if versioned && versionID == "" {
    		versionID = nullVersionID
    	}
    
    	objInfo := ObjectInfo{
    		IsDir:            HasSuffix(object, SlashSeparator),
    		Bucket:           bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	IsDir bool
    
    	// Hex encoded unique entity tag of the object.
    	ETag string
    
    	// Version ID of this object.
    	VersionID string
    
    	// IsLatest indicates if this is the latest current version
    	// latest can be true for delete marker or a version.
    	IsLatest bool
    
    	// DeleteMarker indicates if the versionId corresponds
    	// to a delete marker on an object.
    	DeleteMarker bool
    
    	// Transitioned object information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. 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)
  7. cmd/batch-rotate.go

    	if err != nil {
    		return err
    	}
    	ctx = lkctx.Context()
    	defer lock.Unlock(lkctx)
    
    	opts := ObjectOptions{
    		VersionID:        objInfo.VersionID,
    		Versioned:        versioned,
    		VersionSuspended: versionSuspended,
    		NoLock:           true,
    	}
    	obj, err := api.GetObjectInfo(ctx, r.Bucket, objInfo.Name, opts)
    	if err != nil {
    		return err
    	}
    	oi := obj.Clone()
    	var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/mrf_gen.go

    				return
    			}
    		case "Object":
    			z.Object, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Object")
    				return
    			}
    		case "VersionID":
    			z.VersionID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "VersionID")
    				return
    			}
    		case "Versions":
    			z.Versions, err = dc.ReadBytes(z.Versions)
    			if err != nil {
    				err = msgp.WrapError(err, "Versions")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-utils.go

    				Volume:    volume,
    				Name:      path,
    				VersionID: versionID,
    				Deleted:   true,
    				IsLatest:  true,
    				ModTime:   timeSentinel1970,
    			}, nil
    		}
    		inData = xlMeta.data
    		fi, err = xlMeta.ToFileInfo(volume, path, versionID, opts.InclFreeVersions, true)
    	}
    	if !opts.Data || err != nil {
    		return fi, err
    	}
    	versionID = fi.VersionID
    	if versionID == "" {
    		versionID = nullVersionID
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. 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)
Back to top