Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for VersionID (0.08 sec)

  1. 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)
  2. 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)
  3. cmd/erasure-object.go

    		if versionID == "" {
    			versionID = mustGetUUID()
    			fi.IsLatest = true // we are creating a new version so this is latest.
    		}
    	}
    
    	modTime = UTCNow() // We only preserve modTime if dstOpts.MTime is true.
    	// in all other cases mtime is latest.
    
    	fi.VersionID = versionID // set any new versionID we might have created
    	fi.ModTime = modTime     // set modTime for the new versionID
    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/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)
  5. 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)
  6. cmd/xl-storage-format-v2.go

    func (j xlMetaV2DeleteMarker) ToFileInfo(volume, path string) (FileInfo, error) {
    	versionID := ""
    	var uv uuid.UUID
    	// check if the version is not "null"
    	if j.VersionID != uv {
    		versionID = uuid.UUID(j.VersionID).String()
    	}
    	fi := FileInfo{
    		Volume:    volume,
    		Name:      path,
    		ModTime:   time.Unix(0, j.ModTime).UTC(),
    		VersionID: versionID,
    		Deleted:   true,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  7. cmd/erasure-metadata.go

    	object = decodeDirObject(object)
    	versionID := fi.VersionID
    	if versioned && versionID == "" {
    		versionID = nullVersionID
    	}
    
    	objInfo := ObjectInfo{
    		IsDir:            HasSuffix(object, SlashSeparator),
    		Bucket:           bucket,
    		Name:             object,
    		ParityBlocks:     fi.Erasure.ParityBlocks,
    		DataBlocks:       fi.Erasure.DataBlocks,
    		VersionID:        versionID,
    		IsLatest:         fi.IsLatest,
    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. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    		{ObjectOpts{Name: "c1test", DeleteMarker: true, OpType: DeleteReplicationType}, cfgs[0], true},                               // 4. DeleteMarker version replication valid case - matches DeleteMarkerReplication status
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. docs/bucket/replication/delete-replication.sh

    echo "=== myminio2"
    ./mc ls --versions myminio2/testbucket/dir/file
    
    versionId="$(./mc ls --json --versions myminio1/testbucket/dir/ | tail -n1 | jq -r .versionId)"
    
    export AWS_ACCESS_KEY_ID=minioadmin
    export AWS_SECRET_ACCESS_KEY=minioadmin
    export AWS_REGION=us-east-1
    
    aws s3api --endpoint-url http://localhost:9001 delete-object --bucket testbucket --key dir/file --version-id "$versionId"
    
    ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-free-version.go

    	}
    	return false
    }
    
    // AddFreeVersion adds a free-version if needed for fi.VersionID version.
    // Free-version will be added if fi.VersionID has transitioned.
    func (x *xlMetaV2) AddFreeVersion(fi FileInfo) error {
    	var uv uuid.UUID
    	var err error
    	switch fi.VersionID {
    	case "", nullVersionID:
    	default:
    		uv, err = uuid.Parse(fi.VersionID)
    		if err != nil {
    			return err
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top