Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for numVersions (0.26 sec)

  1. cmd/erasure-metadata_test.go

    					t.Errorf("Expected IsLatest to be %v but got %v", test.expectedIsLatest, fi.IsLatest)
    				}
    			}
    			if test.numVersions != nil && test.expectedNumVersions > 0 {
    				if test.expectedNumVersions != fi.NumVersions {
    					t.Errorf("Expected Numversions to be %d but got %d", test.expectedNumVersions, fi.NumVersions)
    				}
    			}
    		})
    	}
    }
    
    func TestTransitionInfoEquals(t *testing.T) {
    	inputs := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    					found = true
    				}
    				props := objProps{
    					succModTime: metaArr[i].SuccessorModTime,
    					numVersions: metaArr[i].NumVersions,
    				}
    				otherPropsMap[props]++
    			}
    		}
    	}
    
    	if found {
    		// Update candidate FileInfo with succModTime and numVersions in quorum when available
    		if props, ok := otherPropsMap.GetValueWithQuorum(quorum); ok {
    			candidate.SuccessorModTime = props.succModTime
    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/object-api-datatypes.go

    		keyRotation:                o.keyRotation,
    		AccTime:                    o.AccTime,
    		Legacy:                     o.Legacy,
    		VersionPurgeStatus:         o.VersionPurgeStatus,
    		NumVersions:                o.NumVersions,
    		SuccessorModTime:           o.SuccessorModTime,
    		ReplicationStatusInternal:  o.ReplicationStatusInternal,
    		VersionPurgeStatusInternal: o.VersionPurgeStatusInternal,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance_gen.go

    			}
    		case "no":
    			z.NumObjects, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "NumObjects")
    				return
    			}
    		case "nv":
    			z.NumVersions, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "NumVersions")
    				return
    			}
    		case "bs":
    			z.Bytes, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "Bytes")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle.go

    type ObjectOpts struct {
    	Name             string
    	UserTags         string
    	ModTime          time.Time
    	Size             int64
    	VersionID        string
    	IsLatest         bool
    	DeleteMarker     bool
    	NumVersions      int
    	SuccessorModTime time.Time
    	TransitionStatus string
    	RestoreOngoing   bool
    	RestoreExpires   time.Time
    }
    
    // ExpiredObjectDeleteMarker returns true if an object version referred to by o
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    	defer func() {
    		if !ok {
    			return
    		}
    
    		if lcEvent.Action != lifecycle.NoneAction {
    			numVersions := uint64(1)
    			if lcEvent.Action.DeleteAll() {
    				numVersions = uint64(obj.NumVersions)
    			}
    			timeILM(numVersions)
    		}
    	}()
    
    	dobj, err = objLayer.DeleteObject(ctx, obj.Bucket, encodeDirObject(obj.Name), opts)
    	if err != nil {
    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/data-usage-cache.go

    	for tier, st := range ats.Tiers {
    		stats[tier] = madmin.TierStats{
    			TotalSize:   st.TotalSize,
    			NumVersions: st.NumVersions,
    			NumObjects:  st.NumObjects,
    		}
    	}
    	return
    }
    
    // tierStats holds per-tier stats of a remote tier.
    type tierStats struct {
    	TotalSize   uint64 `msg:"ts"`
    	NumVersions int    `msg:"nv"`
    	NumObjects  int    `msg:"no"`
    }
    
    func (ts tierStats) add(u tierStats) tierStats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common_test.go

    			BlockSize:    1048576,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
    			Checksums:    []ChecksumInfo{{PartNumber: 1, Algorithm: 0x3, Hash: []uint8{}}},
    		},
    		NumVersions: 1,
    		Idx:         0,
    	}
    
    	fi2 := FileInfo{
    		Volume:           "mybucket",
    		Name:             "myobject",
    		VersionID:        "",
    		IsLatest:         true,
    		Deleted:          false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance.go

    	Object            string        `json:"object" msg:"ob"`             // Last rebalanced object
    	NumObjects        uint64        `json:"numObjects" msg:"no"`         // Number of objects rebalanced
    	NumVersions       uint64        `json:"numVersions" msg:"nv"`        // Number of versions rebalanced
    	Bytes             uint64        `json:"bytes" msg:"bs"`              // Number of bytes rebalanced
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		Name:             oi.Name,
    		UserTags:         oi.UserTags,
    		VersionID:        oi.VersionID,
    		ModTime:          oi.ModTime,
    		Size:             oi.Size,
    		IsLatest:         oi.IsLatest,
    		NumVersions:      oi.NumVersions,
    		DeleteMarker:     oi.DeleteMarker,
    		SuccessorModTime: oi.SuccessorModTime,
    		RestoreOngoing:   oi.RestoreOngoing,
    		RestoreExpires:   oi.RestoreExpires,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top