Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for numVersions (0.07 sec)

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

    		Size:        m.Stat.Size,
    		Metadata:    m.Meta,
    		Parts:       m.Parts,
    		Erasure:     m.Erasure,
    		VersionID:   m.VersionID,
    		DataDir:     m.DataDir,
    		XLV1:        true,
    		NumVersions: 1,
    	}
    
    	return fi, nil
    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (m *xlMetaV1Object) Signature() [4]byte {
    	// Shallow copy
    	c := *m
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. 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)
  3. cmd/xl-storage-format-v2_test.go

    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		Data:             data,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    
    	failOnErr(xl.AddVersion(fi))
    
    	fi.VersionID = mustGetUUID()
    	fi.DataDir = mustGetUUID()
    	fi.Data = data2
    	failOnErr(xl.AddVersion(fi))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    			return versions, err
    		}
    		fi, err := dst.ToFileInfo(volume, path, allParts)
    		if err != nil {
    			return versions, err
    		}
    		fi.NumVersions = len(x.versions)
    		versions = append(versions, fi)
    	}
    
    	for i := range versions {
    		versions[i].NumVersions = len(versions)
    		if i > 0 {
    			versions[i].SuccessorModTime = versions[i-1].ModTime
    		}
    	}
    	if len(versions) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. cmd/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "VersionPurgeStatus")
    				return
    			}
    		case "NumVersions":
    			z.NumVersions, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NumVersions")
    				return
    			}
    		case "SuccessorModTime":
    			z.SuccessorModTime, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    // object which matches the given filters.
    func (ri *batchJobInfo) trackMultipleObjectVersions(bucket string, info ObjectInfo, success bool) {
    	if success {
    		ri.Objects += int64(info.NumVersions)
    	} else {
    		ri.ObjectsFailed += int64(info.NumVersions)
    	}
    }
    
    func (ri *batchJobInfo) trackCurrentBucketObject(bucket string, info ObjectInfo, success bool, attempt int) {
    	if ri == nil {
    		return
    	}
    
    	ri.mu.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    	ReplicationState ReplicationState `msg:"rs"` // Internal replication state to be passed back in ObjectInfo
    
    	Data []byte `msg:"d,allownil"` // optionally carries object data
    
    	NumVersions      int       `msg:"nv"`
    	SuccessorModTime time.Time `msg:"smt"`
    
    	Fresh bool `msg:"fr"` // indicates this is a first time call to write FileInfo.
    
    	// Position of this version or object in a multi-object delete call,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "Data")
    			return
    		}
    		if z.Data == nil {
    			z.Data = make([]byte, 0)
    		}
    	}
    	z.NumVersions, err = dc.ReadInt()
    	if err != nil {
    		err = msgp.WrapError(err, "NumVersions")
    		return
    	}
    	z.SuccessorModTime, err = dc.ReadTime()
    	if err != nil {
    		err = msgp.WrapError(err, "SuccessorModTime")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    
    			// Notify object created events.
    			sendEvent(eventArgsList[i])
    
    			if eventArgsList[i].Object.NumVersions > int(scannerExcessObjectVersions.Load()) {
    				// Send events for excessive versions.
    				sendEvent(eventArgs{
    					EventName:    event.ObjectManyVersions,
    					BucketName:   eventArgsList[i].Object.Bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    		ReqParams:    extractReqParams(r),
    		RespElements: extractRespElements(w),
    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	}
    	sendEvent(evt)
    
    	if objInfo.NumVersions > int(scannerExcessObjectVersions.Load()) {
    		evt.EventName = event.ObjectManyVersions
    		sendEvent(evt)
    
    		auditLogInternal(context.Background(), AuditLogOptions{
    			Event:     "scanner:manyversions",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top