Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for versionId (0.07 sec)

  1. 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)
  2. 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)
  3. cmd/xl-storage-format-v2.go

    	// v2 object is inlined, if it is skip dataDir share check.
    	if x.data.entries() > 0 && x.data.find(uuid.UUID(versionID).String()) != nil {
    		return 0
    	}
    	var sameDataDirCount int
    	var decoded xlMetaDataDirDecoder
    	for _, version := range x.versions {
    		if version.header.Type != ObjectType || version.header.VersionID == versionID || !version.header.UsesDataDir() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. cmd/bucket-lifecycle.go

    	}
    }
    
    // enqueueByNewerNoncurrent enqueues object versions expired by
    // NewerNoncurrentVersions limit for expiry.
    func (es *expiryState) enqueueByNewerNoncurrent(bucket string, versions []ObjectToDelete, lcEvent lifecycle.Event) {
    	if len(versions) == 0 {
    		return
    	}
    
    	task := newerNoncurrentTask{bucket: bucket, versions: versions, event: lcEvent}
    	wrkr := es.getWorkerCh(task.OpHash())
    	if wrkr == nil {
    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/global-heal.go

    					result = healEntrySuccess(uint64(version.Size))
    				} 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    		// skip versions with object locking enabled
    		if rcfg.LockEnabled && enforceRetentionForDeletion(ctx, obj) {
    			if i.debug {
    				if obj.VersionID != "" {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s v(%s) is locked, not deleting\n", obj.Name, obj.VersionID)
    				} else {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s is locked, not deleting\n", obj.Name)
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    	return isXLMetaFormatValid(m.Version, m.Format) &&
    		isXLMetaErasureInfoValid(m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the version string and format style.
    func isXLMetaFormatValid(version, format string) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/warm-backend-s3.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ID":
    			err = dc.ReadExactBytes((z.VersionID)[:])
    			if err != nil {
    				err = msgp.WrapError(err, "VersionID")
    				return
    			}
    		case "MTime":
    			z.ModTime, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. cmd/api-response.go

    			}
    		}
    		content.Owner = owner
    		content.VersionID = object.VersionID
    		if content.VersionID == "" {
    			content.VersionID = nullVersionID
    		}
    		content.IsLatest = object.IsLatest
    		content.isDeleteMarker = object.DeleteMarker
    		versions = append(versions, content)
    	}
    
    	data.Name = bucket
    	data.Versions = versions
    	data.EncodingType = encodingType
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top