Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 541 for versionid (0.08 sec)

  1. cmd/xl-storage-format-v2_test.go

    		if len(xl.versions) != 855 {
    			t.Errorf("want %d versions, got %d", 855, len(xl.versions))
    		}
    		xl.sortByModTime()
    		if !sort.SliceIsSorted(xl.versions, func(i, j int) bool {
    			return xl.versions[i].header.ModTime > xl.versions[j].header.ModTime
    		}) {
    			t.Errorf("Contents not sorted")
    		}
    		for i := range xl.versions {
    			hdr := xl.versions[i].header
    			ver, err := xl.getIdx(i)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K 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/metacache-entries_test.go

    		6: {
    			versions: []xlMetaV2ShallowVersion{
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{},
    					ModTime:   baseTime.Add(90 * time.Minute).UnixNano(),
    					Signature: [4]byte{6, 1, 1, 1},
    					Type:      ObjectType,
    					Flags:     0,
    				}},
    			},
    		},
    		7: {
    			versions: []xlMetaV2ShallowVersion{
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    					continue
    				}
    
    				versionID := version.VersionID
    				if versionID == "" {
    					versionID = nullVersionID
    				}
    
    				var failure, ignore bool
    				if version.Deleted {
    					_, err := z.DeleteObject(ctx,
    						bi.Name,
    						version.Name,
    						ObjectOptions{
    							// Since we are preserving a delete marker, we have to make sure this is always true.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. 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)
  6. 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
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. 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)
  8. cmd/data-scanner_test.go

    			Volume:      bucket,
    			Name:        obj,
    			VersionID:   uuids[i].String(),
    			IsLatest:    i == 0,
    			ModTime:     modTime.Add(-1 * time.Duration(i) * time.Minute),
    			Size:        1 << 10,
    			NumVersions: 5,
    		}
    	}
    	versioned := vcfg.Status == "Enabled"
    	wants := make([]ObjectInfo, 2)
    	for i, fi := range fivs[:2] {
    		wants[i] = fi.ToObjectInfo(bucket, obj, versioned)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. 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)
  10. cmd/xl-storage-free-version.go

    }
    
    // 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
    		}
    	}
    
    	for i, version := range x.versions {
    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