Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetTierFreeVersion (0.34 sec)

  1. cmd/erasure-metadata.go

    func (fi *FileInfo) TierFreeVersionID() string {
    	return fi.Metadata[ReservedMetadataPrefixLower+tierFVID]
    }
    
    // SetTierFreeVersion sets fi as a free-version. This method is used by
    // lower layers to indicate a free-version.
    func (fi *FileInfo) SetTierFreeVersion() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string)
    	}
    	fi.Metadata[ReservedMetadataPrefixLower+tierFVMarker] = ""
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	for k, v := range j.MetaSys {
    		fi.Metadata[k] = string(v)
    	}
    
    	fi.ReplicationState = GetInternalReplicationState(j.MetaSys)
    	if j.FreeVersion() {
    		fi.SetTierFreeVersion()
    		fi.TransitionTier = string(j.MetaSys[metaTierName])
    		fi.TransitionedObjName = string(j.MetaSys[metaTierObjName])
    		fi.TransitionVersionID = string(j.MetaSys[metaTierVersionID])
    	}
    
    	return fi, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. cmd/erasure-object.go

    			if inlineData {
    				metaArr[index].SetInlineData()
    			}
    			if freeVersionID != "" {
    				metaArr[index].SetTierFreeVersionID(freeVersionID)
    			}
    			if freeVersionMarker {
    				metaArr[index].SetTierFreeVersion()
    			}
    		}
    	}
    
    	// Write unique `xl.meta` for each disk.
    	if _, err = writeUniqueFileInfo(ctx, onlineDisks, "", srcBucket, srcObject, metaArr, writeQuorum); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top