Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for XLV1 (0.08 sec)

  1. cmd/erasure-healing-common.go

    		modTimes[index] = metadata.ModTime
    	}
    	return modTimes
    }
    
    func filterOnlineDisksInplace(fi FileInfo, partsMetadata []FileInfo, onlineDisks []StorageAPI) {
    	for i, meta := range partsMetadata {
    		if fi.XLV1 == meta.XLV1 {
    			continue
    		}
    		onlineDisks[i] = nil
    	}
    }
    
    // Notes:
    // There are 5 possible states a disk could be in,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    //   - deleteMarker returns "delete-marker"
    //   - returns "legacy" if FileInfo is XLV1 and DataDir is
    //     empty, returns DataDir otherwise
    //   - returns "dataDir"
    func (fi FileInfo) GetDataDir() string {
    	if fi.Deleted {
    		return "delete-marker"
    	}
    	if fi.XLV1 && fi.DataDir == "" {
    		return "legacy"
    	}
    	return fi.DataDir
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    		partsMetadata[i] = cleanFileInfo(latestMeta)
    	}
    
    	// source data dir shall be empty in case of XLV1
    	// differentiate it with dstDataDir for readability
    	// srcDataDir is the one used with newBitrotReader()
    	// to read existing content.
    	srcDataDir := latestMeta.DataDir
    	dstDataDir := latestMeta.DataDir
    	if latestMeta.XLV1 {
    		dstDataDir = migrateDataDir
    	}
    
    	var inlineBuffers []*bytes.Buffer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    		VersionID:        versionID,
    		IsLatest:         fi.IsLatest,
    		DeleteMarker:     fi.Deleted,
    		Size:             fi.Size,
    		ModTime:          fi.ModTime,
    		Legacy:           fi.XLV1,
    		ContentType:      fi.Metadata["content-type"],
    		ContentEncoding:  fi.Metadata["content-encoding"],
    		NumVersions:      fi.NumVersions,
    		SuccessorModTime: fi.SuccessorModTime,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1.go

    		ModTime:     m.Stat.ModTime,
    		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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    		Name:           "myobject",
    		VersionID:      "",
    		IsLatest:       true,
    		Deleted:        false,
    		ExpireRestored: false,
    		DataDir:        "4a01d9dd-0c5e-4103-88f8-b307c57d212e",
    		XLV1:           false,
    		ModTime:        time.Date(2023, time.March, 15, 11, 18, 4, 989906961, time.UTC),
    		Size:           329289, Mode: 0x0, WrittenByVersion: 0x63c77756,
    		Metadata: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_gen.go

    		return
    	}
    	z.DataDir, err = dc.ReadString()
    	if err != nil {
    		err = msgp.WrapError(err, "DataDir")
    		return
    	}
    	z.XLV1, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "XLV1")
    		return
    	}
    	z.ModTime, err = dc.ReadTime()
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	z.Size, err = dc.ReadInt64()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    //
    // ``object``: If the object is uploaded the usual way: putobject, multipart-put, copyobject
    //
    // ``delete``: This is the delete-marker
    //
    // ``legacyObject``: This is the legacy object in xlV1 format, preserved until its overwritten
    //
    // The most recently updated element in the array is considered the latest version.
    
    // In addition to these we have a special kind called free-version. This is represented
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  9. 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
    		}
    		// Fetch FileInfo again. HealObject migrates object the latest
    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