Skip to content

file-history: drain the retention ledger queue on shutdown #3450

Description

@liukx0205

touchFileHistorySession / dropFileHistorySession run on a fire-and-forget per-workspace queue; a process exiting immediately after a turn end can truncate the last ledger write. Consequence is bounded (the next touch recomputes; blob deletion already happens before the ledger write, so nothing strands), but a shutdown hook that awaits the queues would close the window.

Follow-up from the #3339 review round.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions