FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Enum DeleteMode

    Specifies when file deletions issued through the repository take physical effect.

    Namespace: FulcrumFS
    Assembly: FulcrumFS.dll
    Syntax
    public enum DeleteMode

    Fields

    Name Description
    DeferredFilesOnly

    Main file deletions are deferred (same as DeferredUntilClean), but variant deletions take physical effect immediately. The deferred grace period for variants exists primarily so that backups capture variants in a consistent state alongside their main files; this mode skips that protection and is only appropriate when either:

    • Backups exclude variants entirely, for example because variants are always (re)materialized on demand via GetOrAddVariantAsync(FileId, string, IFileProcessingPipelineSelector, CancellationToken), or are regenerated from main files as part of a backup restoration procedure.
    • The repository is offline and already backed up, and the operator wants to "force delete" variants immediately to remediate a problem with previously generated variants.
    DeferredUntilClean

    File deletions are deferred: a delete marker is written when the operation completes (or when a transaction containing the deletion commits), and the physical deletion happens later when a FileRepoCleaner clean operation removes markers older than the configured delete delay. This is the default mode and is recommended to allow concurrent transactions to access deleted files, support recovery, and let scheduled backups run before files are physically removed.

    Immediate

    File deletions are performed immediately when the operation completes (or when a transaction containing the deletion commits). No delete marker is written and no grace period is observed.

    © Singulink. All rights reserved.