A disk-full write leaves an empty ref in the repo mirror and every clone then fails #1831

Closed
opened 2026-11-08 22:12:07 +00:00 by sam · 1 comment
Owner

A fetch interrupted by a full disk left an empty file under the mirror's refs, and every later worktree prepare failed with 'ref file is empty' until it was removed by hand. Done when ensureMirror recovers from a corrupt mirror (prune empty refs or recreate it) instead of parking each task.

A fetch interrupted by a full disk left an empty file under the mirror's refs, and every later worktree prepare failed with 'ref file is empty' until it was removed by hand. Done when ensureMirror recovers from a corrupt mirror (prune empty refs or recreate it) instead of parking each task.
Author
Owner

Fixed on main and deployed to carina; see the commit citing #1831.

Fixed on main and deployed to carina; see the commit citing #1831.
sam closed this issue 2026-11-08 23:17:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1831