Skip to main content

Crate rustfs_filemeta

Crate rustfs_filemeta 

Source

Modules§

metadata_keys
Object-metadata map keys persisted inside xl.meta (MetaObject::meta_user).
shard_integrity
Optional, quorum-owned SHA-256 commitments. The existing part payload and HighwayHash framing are unchanged. A proof file is only an untrusted index; authority comes from the root stored in the selected object’s metadata.
test_data

Structs§

Cache
ChecksumInfo
DetailedVersionStats
Enhanced version statistics with more detailed information
ErasureInfo
FileInfo
FileInfoOpts
FileInfoVersions
FileMeta
FileMetaShallowVersion
FileMetaVersion
FileMetaVersionHeader
FilesInfo
InlineData
MetaCacheEntries
MetaCacheEntriesSorted
MetaCacheEntriesSortedResult
MetaCacheEntry
MetaCacheHealCandidate
MetaCacheHealDiscovery
MetaDeleteMarker
MetaObject
MetaObjectV1
MetaObjectV1ChecksumInfo
MetaObjectV1Erasure
MetaObjectV1Part
MetaObjectV1Stat
MetacacheReader
MetacacheWriter
MetadataResolutionParams
MrfReplicateEntry
ObjectPartInfo
Opts
RawFileInfo
ReplicateDecision
ReplicateDecision represents replication decision for each target
ReplicateObjectInfo
ReplicateTargetDecision
ReplicatedInfos
ReplicatedInfos struct contains replication information for multiple targets
ReplicatedTargetInfo
ReplicatedTargetInfo struct represents replication info on a target
ReplicationState
RestoreStatus
Parsed restore status of a restored object: the value persisted under metadata_keys::RESTORE. filemeta owns this type so the persisted format does not depend on an HTTP library DTO (backlog#1735 A3c); the field names match the former s3s::dto::RestoreStatus so the rendered bytes are unchanged.
ResyncDecision
ResyncDecision is a struct representing a map with target’s individual resync decisions
ResyncTargetDecision
TransitionStateReconcileTarget
The only fields a legacy transition repair is allowed to persist.
ValidatedErasureLayout
Erasure geometry that passed the storage-layout validation policy.
VersionStats

Enums§

ChecksumAlgo
ErasureAlgo
Error
Flags
MetaCacheHealCandidateKind
MrfOpKind
Distinguishes the kind of operation stored in MrfReplicateEntry.
ReplicationAction
ReplicationStatusType
StatusType of Replication for x-amz-replication-status header
ReplicationType
Type - replication type enum
TransitionVersionState
ValidationMode
Selects the validation policy for a trusted operation boundary.
VersionPurgeStatusType
VersionType

Constants§

BLOCK_SIZE_V2
DEFAULT_OBJECT_MAX_VERSIONS
Default max object versions per object.
ERASURE_ALGORITHM
FREE_VERSION
xl.meta key marking a tier free-version record.
MAX_META_CACHE_HEAL_CANDIDATES
MAX_META_CACHE_HEAL_TRUNCATED_OBJECTS
Keep truncation continuations bounded while still giving the scanner a safe object-level retry for versions that did not fit in the candidate set.
NULL_VERSION_ID
REPLICATE_EXISTING
REPLICATE_EXISTING_DELETE
REPLICATE_HEAL
REPLICATE_HEAL_DELETE
REPLICATE_INCOMING
REPLICATE_INCOMING_DELETE
REPLICATE_MRF
REPLICATE_QUEUED
REPLICATION_RESET
REPLICATION_STATUS
TIER_FV_ID
TIER_FV_MARKER
TIER_SKIP_FV_ID
TRANSITIONED_OBJECTNAME
TRANSITIONED_VERSION_ID
TRANSITION_COMPLETE
TRANSITION_PENDING
TRANSITION_STATUS
TRANSITION_TIER

Statics§

XL_FILE_HEADER
XL_META_VERSION

Traits§

ReplicationWorkerOperation
RestoreStatusOps

Functions§

calc_shard_size
file_info_from_raw
get_composite_replication_status
get_composite_version_purge_status
get_file_info
get_internal_replication_state
Rebuild the structured replication state from its durable internal metadata.
get_replication_state
is_io_eof
is_restored_object_on_disk
is_skip_meta_key
Returns true if the key is a transient internal flag that should not be persisted to meta_sys.
merge_file_meta_versions
object_max_versions
parse_replicate_decision
parse_replication_timestamp
parse_restore_obj_status
read_xl_meta_no_data
read_xl_meta_no_data_sync
Synchronous twin of read_xl_meta_no_data.
replication_statuses_map
set_object_max_versions
target_reset_header
version_purge_statuses_map

Type Aliases§

Result
FileMeta error type and Result alias. This module defines a custom error type Error for handling various error scenarios related to file metadata operations. It also provides a Result type alias for convenience.
UpdateFn