Skip to content

Clean up crashed import staging, and harvest WAL leftovers for garbage #2347

Open

Description

@bplatz

Follow-up from #2280.

  • Import staging. Files under the server's fluree-import-staging/ are keyed by import job, not ledger. A crashed import leaves them behind, and the purge's per-holder scratch cleanup doesn't find them. They need ownership tracking or a startup cleanup.
  • WAL harvesting. Record a crash's leftovers when the WAL is replayed, so the next garbage reconciliation finds them without a full listing. Retiring and checkpointing WALs for a safe cluster purge is already implemented.

Related: #2334 (resumable reconciliation).

Activity

  1. added
    P3
    area:server
    on Nov 11, 2026
  2. added this to the 5.0.0 milestone on Nov 12, 2026
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

    P3area:server

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions