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

Document and improve zfs lifecycle #23

Merged
merged 2 commits into from
Oct 5, 2020
Merged

Document and improve zfs lifecycle #23

merged 2 commits into from
Oct 5, 2020

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Oct 2, 2020

Should cope better with crash recovery now.

Should cope better with crash recovery now.
@talex5
Copy link
Contributor Author

talex5 commented Oct 5, 2020

The stress tests now attach a cache to each build step. It gets cloned (or created), mounted into the sandbox, unmounted, and finally either committed or deleted. However, the build command doesn't use the cache for anything.

Note: ZFS sometimes fails to destroy cache datasets on the first attempt. This happens in about 1 / 400 cases (so about one failure per stress-test run). The code catches this and retries, which fixes the problem. It also logs a warning and runs fuser in case that shows the culprit. But so far the problem has always disappeared by then.

@talex5 talex5 merged commit d8a8562 into ocurrent:master Oct 5, 2020
@talex5 talex5 deleted the zfs branch October 5, 2020 09:54
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

Successfully merging this pull request may close these issues.

1 participant