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

Also rollback before appending new slices #91

Open
forman opened this issue Apr 24, 2024 · 0 comments
Open

Also rollback before appending new slices #91

forman opened this issue Apr 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@forman
Copy link
Member

forman commented Apr 24, 2024

Is your feature request related to a problem? Please describe.

If a running zappend task is interrupted and no rollback can be performed (power cut, sudden VM death) the target dataset will likely be corrupt, i.e., not have its structural integrity preserved.

Describe the solution you'd like

The next time new slices are appended to such an incomplete dataset, zappend should be able to detect its in-progress state and then "heal" it by rolling back the delta with the changes already applied. This requires that the dataset's lock file and the rollback info are still available.

@forman forman added the enhancement New feature or request label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant