Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete bad chunks with atticadm #155

Open
gmacon opened this issue Aug 1, 2024 · 0 comments
Open

Delete bad chunks with atticadm #155

gmacon opened this issue Aug 1, 2024 · 0 comments

Comments

@gmacon
Copy link

gmacon commented Aug 1, 2024

The FAQ says about missing/corrupt chunks:

The atticadm utility will have the functionality to kill/delete bad chunks.

This is a function I've discovered that I need, and I'm willing to work on an implementation, but I have some questions about the best way to proceed:

  • From the description, it seems that we need to identify which chunks are bad, knowing which nars are bad is insufficient. What is the best way to identify that a chunk is bad? I can pretty easily figure out which nars are bad by reading the logs when nix build fails, but it's not obvious to me how to figure out which chunk is bad.
  • Would it make sense to expose this through the API, potentially with a new claim to allow it to happen?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant