-
Notifications
You must be signed in to change notification settings - Fork 63
[nexus] Make disk deletion saga idempotent #2098
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
Merged
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
b2a2ba1
[sagas] Make a macro to simplify declaring saga actions
smklein f399ff7
ignore rustdoc
smklein 66cf0c0
[nexus] Instance Deletion is now a saga
smklein 828ed21
[nexus] Project and VPC creation are now sagas
smklein 2e0a199
Merge branch 'main' into saga-macro
smklein 533ee76
Merge branch 'main' into saga-macro
smklein 6abce08
Move some lazy_static to once_cell
smklein 169ed10
Merge branch 'main' into saga-macro
smklein 29a3ab5
Extend docs
smklein 3b62a6a
Merge branch 'main' into saga-macro
smklein 05cbd9d
Merge branch 'saga-macro' into more-sagas
smklein f7f5fbe
Merge branch 'more-sagas' into project-creation-saga
smklein 2f89973
[vpc_create] Add undo actions
smklein b9fef96
[vpc_create] Add tests for idempotency, fix things
smklein d68c763
[nexus] Make project creation unwind safe, add tests
smklein 9a8504b
fix project lookup
smklein 79271d2
Lookup project when deleting to avoid rcgen issue during unwind
smklein 23801dd
[nexus] Make snapshot deletion a saga
smklein 80932d8
[nexus] Add basic test for snapshot create
smklein bfc6048
Merge branch 'main' into project-creation-saga
smklein f9c635a
Merge branch 'project-creation-saga' into vpc-creation-saga-idempotent
smklein 8c01fcd
Merge branch 'vpc-creation-saga-idempotent' into project-creation-sag…
smklein 3f37a48
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein e1a5e5c
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein 163d9c5
fix node names
smklein fedfbb8
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein ffdc483
Verify clean slate in snapshot test, add volume check to disk test
smklein 839fac6
Passing snapshot unwind test
smklein e4190e8
More state validation
smklein c4b16ce
fmt
smklein 9008dce
Don't record sled_id; not needed yet
smklein 666bf64
Merge branch 'main' into project-creation-saga-idempotent
smklein af15ed0
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein ee2519e
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein bd2786c
[nexus] Make instance creation actions/undo actions idempotent
smklein c6e929d
Fix steno rev
smklein a5293df
[nexus] Make instance deletion actions idempotent
smklein b6dc6c3
[nexus] Make disk creation saga idempotent
smklein bca0c97
[nexus] Make disk deletion saga idempotent
smklein 1d68f03
Merge branch 'main' into project-creation-saga-idempotent
smklein 344df7a
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein de1213e
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein ae4d65f
Merge branch 'snapshot-create-saga-idempotent' into instance-create-i…
smklein 57a34aa
Merge branch 'instance-create-idempotency' into instance-delete-idemp…
smklein 5024072
Merge branch 'instance-delete-idempotency' into disk-create-idempotency
smklein 7e8dfd4
Merge branch 'disk-create-idempotency' into disk-delete-idempotency
smklein d59ef33
Merge branch 'main' into project-creation-saga-idempotent
smklein 805ee99
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein 61d9d5c
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein 4e0ab41
Merge branch 'snapshot-create-saga-idempotent' into instance-create-i…
smklein e0833a2
Merge branch 'instance-create-idempotency' into instance-delete-idemp…
smklein b039a17
Merge branch 'instance-delete-idempotency' into disk-create-idempotency
smklein ef5d14f
Merge branch 'disk-create-idempotency' into disk-delete-idempotency
smklein 0163d16
Merge branch 'main' into project-creation-saga-idempotent
smklein c8fcbf5
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein 6f8ab62
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein 92ec4a2
Merge branch 'snapshot-create-saga-idempotent' into instance-create-i…
smklein 9a4d9d7
Merge branch 'main' into instance-create-idempotency
smklein 69d38c3
Merge branch 'instance-create-idempotency' into instance-delete-idemp…
smklein cb0c74b
Merge branch 'main' into instance-create-idempotency
smklein 4ab6de7
Merge branch 'instance-create-idempotency' into instance-delete-idemp…
smklein cf9ecc0
Merge branch 'instance-delete-idempotency' into disk-create-idempotency
smklein fe71e10
Merge branch 'disk-create-idempotency' into disk-delete-idempotency
smklein 282cb1f
Merge branch 'main' into disk-create-idempotency
smklein 0cc2755
Merge branch 'disk-create-idempotency' into disk-delete-idempotency
smklein c9378fc
Merge branch 'main' into disk-create-idempotency
smklein 06305b2
Merge branch 'disk-create-idempotency' into disk-delete-idempotency
smklein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This could be expanded to create more
DiskSources. There are other code paths thatwe don't get coverage on for the saga when we have a Snapshot or a Global Image.
I created an issue for this: #2115
This PR can go ahead without it, as it's improving on what we have now.