Locker should recover from a wiped slot
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- operating-systems
Research direction
Start by tracing the locker code that handles the cluster dataset root and wiped slot, then inspect how it distinguishes a vanished slot directory from an unmounted dataset. Evaluate the proposed startup dirfd and mkdirat approach; done means a wiped slot recovers without treating an unmounted dataset as recoverable, with tests covering both cases.
Written by the indexing model from the issue text.
Description
If one deletes a locker file while sush is running, it currently wedges closed. But it could heal around it, though some caution is required, because we want to distinguish between "slot directory vanished" and "dataset unmounted". The safe path is probably to capture an open dirfd on the cluster dataset root at startup and recreate the wiped directory with mkdirat through that fd.
- Dominant language
- Rust
- Stars
- 3
- Forks
- 0
- Avg merge
- 9d 12h
- Merged PRs (30d)
- 11
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oxidecomputer/sush
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxidecomputer/sush#74 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oxidecomputer/sush#70 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
oxidecomputer/sush#82 ·
-
`tail -f` equivalent Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
oxidecomputer/sush#81 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
oxidecomputer/sush#80 · 1 comment ·
All issues in oxidecomputer/sush
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100