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

Return Volume's own regions when soft-deleting #6555

Merged

Conversation

jmpesp
Copy link
Contributor

@jmpesp jmpesp commented Sep 11, 2024

Correctly populate the "regions" field in the section of the DecreaseCrucibleResourceCountAndSoftDeleteVolume CTE that constructs the V3 version of the CrucibleResources object. Previously this would almost never return the Volume's regions, causing those to be picked up later by find_deleted_volume_regions and cleaned up there.

This bug did not result in any leaked regions that this author knows about, but did cause a lot of confusion when examining another unrelated issue.

Correctly populate the "regions" field in the section of the
DecreaseCrucibleResourceCountAndSoftDeleteVolume CTE that constructs the
V3 version of the CrucibleResources object. Previously this would almost
never return the Volume's regions, causing those to be picked up later
by `find_deleted_volume_regions` and cleaned up there.

This bug did not result in any leaked regions that this author knows
about, but did cause a lot of confusion when examining another unrelated
issue.
@jmpesp jmpesp requested a review from smklein September 13, 2024 19:07
@jmpesp jmpesp merged commit 09c93ee into oxidecomputer:main Sep 13, 2024
16 checks passed
@jmpesp jmpesp deleted the return_own_regions_when_soft_deleting_volume branch September 13, 2024 20:22
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