Skip to content

bug(import): Cannot resume import after server crash - stale state blocks recovery #47

@caterryan

Description

@caterryan

Summary

After server crash, orphaned imports show "already running" and cannot be resumed. Breaks crash recovery.

Steps to Reproduce

  1. Start an import with slow query interval (query_interval_ms: 15000)
  2. While import is running, kill the server (pkill -9 influxdb3)
  3. Restart the server
  4. Check status - shows overall_status: "running" but nothing is running
  5. Attempt to resume - receive error: "Import is already running"

Expected Behavior

After server restart, resume should either:

  • Detect the import is not actually running and allow resume
  • Automatically detect stale in_progress state and restart from checkpoint (or beginning if no checkpoint)

Actual Behavior

Resume is blocked with "already running" error. Import is stuck forever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions