Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for _transitionComplete (0.09 sec)

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

    			dataDir:          d2,
    			shares:           3,
    			transitionStatus: lifecycle.TransitionComplete,
    		},
    		{ // transitioned object version with an ongoing restore-object request.
    			versionID:        mustGetUUID(),
    			dataDir:          d2,
    			shares:           3,
    			transitionStatus: lifecycle.TransitionComplete,
    			restoreObjStatus: ongoingRestoreObj().String(),
    		},
    		// The following versions are on-disk.
    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/bucket-lifecycle.go

    func (fi FileInfo) IsRemote() bool {
    	if fi.TransitionStatus != lifecycle.TransitionComplete {
    		return false
    	}
    	return !isRestoredObjectOnDisk(fi.Metadata)
    }
    
    // IsRemote returns true if this object version's contents are in its remote
    // tier.
    func (oi ObjectInfo) IsRemote() bool {
    	if oi.TransitionedObject.Status != lifecycle.TransitionComplete {
    		return false
    	}
    	return !isRestoredObjectOnDisk(oi.UserDefined)
    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/erasure-metadata.go

    		//nolint:gocritic
    		// Delete marker or zero byte objects take highest parity.
    		if metadata.Deleted || metadata.Size == 0 {
    			parities[index] = totalShards / 2
    		} else if metadata.TransitionStatus == lifecycle.TransitionComplete {
    			// For tiered objects, read quorum is N/2+1 to ensure simple majority on xl.meta.
    			// It is not equal to EcM because the data integrity is entrusted with the warm tier.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    // its contents and false otherwise.
    func (j xlMetaV2Object) UsesDataDir() bool {
    	// Skip if this version is not transitioned, i.e it uses its data directory.
    	if !bytes.Equal(j.MetaSys[metaTierStatus], []byte(lifecycle.TransitionComplete)) {
    		return true
    	}
    
    	// Check if this transitioned object has been restored on disk.
    	return isRestoredObjectOnDisk(j.MetaUser)
    }
    
    // InlineData returns whether inline data has been set.
    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/erasure-object.go

    		return toObjectErr(errFileNotFound, bucket, object)
    	}
    	// if object already transitioned, return
    	if fi.TransitionStatus == lifecycle.TransitionComplete {
    		return nil
    	}
    
    	if fi.XLV1 {
    		if _, err = er.HealObject(ctx, bucket, object, "", madmin.HealOpts{NoLock: true}); err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    				continue
    			}
    			tier := oi.StorageClass
    			if tier == "" {
    				tier = storageclass.STANDARD // no SC means "STANDARD"
    			}
    			if oi.TransitionedObject.Status == lifecycle.TransitionComplete {
    				tier = oi.TransitionedObject.Tier
    			}
    			if sizeS.tiers != nil {
    				if st, ok := sizeS.tiers[tier]; ok {
    					sizeS.tiers[tier] = st.add(oi.tierStats())
    				}
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	objInfo, err := getObjectInfo(ctx, bucket, object, opts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if objInfo.TransitionedObject.Status != lifecycle.TransitionComplete {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidObjectState), r.URL)
    		return
    	}
    
    	rreq, err := parseRestoreRequest(io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top