Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SharedDataDirCountStr (0.15 sec)

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

    		if err != nil || decoded.ObjectV2 == nil || decoded.ObjectV2.DataDir != dataDir {
    			continue
    		}
    		sameDataDirCount++
    	}
    	return sameDataDirCount
    }
    
    func (x *xlMetaV2) SharedDataDirCountStr(versionID, dataDir string) int {
    	var (
    		uv   uuid.UUID
    		ddir uuid.UUID
    		err  error
    	)
    	if versionID == nullVersionID {
    		versionID = ""
    	}
    	if versionID != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. cmd/xl-storage.go

    	// Replace the data of null version or any other existing version-id
    	_, ver, err := xlMeta.findVersionStr(reqVID)
    	if err == nil {
    		dataDir := ver.getDataDir()
    		if dataDir != "" && (xlMeta.SharedDataDirCountStr(reqVID, dataDir) == 0) {
    			// Purge the destination path as we are not preserving anything
    			// versioned object was not requested.
    			res.OldDataDir = dataDir
    			if healing {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top