Skip to content

[nexus] Make disk deletion saga idempotent#2098

Merged
smklein merged 67 commits into
mainfrom
disk-delete-idempotency
Jan 9, 2023
Merged

[nexus] Make disk deletion saga idempotent#2098
smklein merged 67 commits into
mainfrom
disk-delete-idempotency

Conversation

@smklein

@smklein smklein commented Dec 28, 2022

Copy link
Copy Markdown
Collaborator

Part of #2094

name: DISK_NAME.parse().expect("Invalid disk name"),
description: "My disk".to_string(),
},
disk_source: params::DiskSource::Blank {

Copy link
Copy Markdown
Contributor

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 that
we 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.

Base automatically changed from disk-create-idempotency to main January 6, 2023 19:10
@smklein smklein enabled auto-merge (squash) January 6, 2023 19:12
@smklein smklein merged commit 1b995f6 into main Jan 9, 2023
@smklein smklein deleted the disk-delete-idempotency branch January 9, 2023 05:45
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.

2 participants