-
Notifications
You must be signed in to change notification settings - Fork 55
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
Snapshot support #3694
Snapshot support #3694
Conversation
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
We expect all tests to pass |
5a5b21d
to
6806499
Compare
Previous test failure was due to nothing worse than a missing chunk of test... |
6806499
to
635f690
Compare
Failing tests were caused by PoolStart call with extra fd in Python test code... |
5e3b985
to
479f2ec
Compare
Squashed to eliminate some switchbacks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still going through the PR but so far just one comment.
@jbaublitz back at you... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I've finished reviewing this, so after these changes are addressed I'll approve it.
@jbaublitz I decided to inline all the format strings that I could inline that were introduced by this PR. |
@jbaublitz Ok. This is ready again. |
e060d83
to
7047c31
Compare
squashed... |
Add MergeRequested property to filesystem D-Bus interface. Use it to set and unset the filesystem metadata field. Change destroy_filesystems to take into account the merge status of a filesystem. Move all the destroy functionality into thinpool implementation. Do more checks to avoid deleting filesystems that shouldn't be deleted. Check for situations where multiple snapshots are referring to the same deleted filesystem. Check for invalid scheduling requests when requesting or canceling a merge request. Add merge field to SimFilesystem's metadata for completeness' sake. Add some tests. Signed-off-by: mulhern <[email protected]>
Verify that scheduled merges are permissible. Return with an error without setting up any filesystems if duplicate UUIDs or names are found. Perform the merges before setting up any filesystems. If a merge can be rolled back, set up the two filesystems in the merge relation in the normal way. Also set the reverted filesystem UUID to the origin's UUID. After a revert has completed, patch up origin links. Set a snapshot of the reverted snapshot to that snapshot's origin. When reverting one snap, A into another snap, B, the reverted filesystem should have B's origin. Define a merge operation for the FilesystemSave struct. Signed-off-by: mulhern <[email protected]>
Semantics preserving, so pass None where it is invoked. Signed-off-by: mulhern <[email protected]>
Signed-off-by: mulhern <[email protected]>
Make this change visible on the D-Bus. Signed-off-by: mulhern <[email protected]>
Signed-off-by: mulhern <[email protected]>
11af265
to
45fed6c
Compare
Gating tests and stratis-cli tests will fail... |
Only gating tests fail... |
Signed-off-by: mulhern <[email protected]>
Gating tests should no longer fail... |
TMT is stuck on Cockpit tests, merging... |
326ae2e
into
stratis-storage:rebase-3.6.0
No description provided.