FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Property IsPendingDeletion

    IsPendingDeletion

    Gets a value indicating whether the file had been deleted and was waiting for a cleanup pass to physically remove it when the enumeration started.

    Declaration
    public bool IsPendingDeletion { get; }
    Property Value
    Type Description
    bool
    Remarks

    A deletion committed in DeferredUntilClean or DeferredFilesOnly mode (or an immediate deletion that could not complete) leaves the file group on disk until a cleanup pass removes it. Such a file can still be deleted by another transaction: DeleteAsync(FileId, CancellationToken) succeeds, TryDeleteAsync(FileId, CancellationToken) returns true, and both deletions converge.

    On a repository with delete journals, a deletion committed by a IFileRepoStagedTransaction, or by a IFileRepoTransaction that committed two or more, is recorded in a journal rather than for each file, and the files it lists are reported as pending deletion too. A staged transaction that has not committed yet does not make its files pending deletion; they are indeterminate until it does (see IsIndeterminate). A file that another transaction deletes again while its deletion is pending can be reported as both pending deletion and indeterminate.

    © Singulink. All rights reserved.