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

Fix an edge case where some databases fail to migrate to 3.0.0 with a unique constraint error. #924

Closed
wants to merge 1 commit into from

Conversation

sdherr
Copy link
Contributor

@sdherr sdherr commented Oct 27, 2023

See the bug report for more discussion and a stack trace.

Closes #923

@quba42 quba42 added .bugfix CHANGES/<issue_number>.bugfix Triage-Needed labels Nov 13, 2023
@quba42
Copy link
Collaborator

quba42 commented Nov 20, 2023

Since we are unsure if we really need this, I am converting this to draft (for my sanity). Please think nothing of it.

@quba42 quba42 marked this pull request as draft November 20, 2023 14:21
@quba42
Copy link
Collaborator

quba42 commented Dec 11, 2023

@sdherr I am 99% sure you needed this because of the way you added migrations to your instance in a different order/state from the pulp_deb main branch. As such, I would like to close this PR in the interest of cleanup. Out of an abundance of caution, I have taken the liberty to push your issue branch into the upstream pulp_deb repository, just in case we do want to recover it later.

Is this acceptable?

@sdherr
Copy link
Contributor Author

sdherr commented Dec 12, 2023

@sdherr I am 99% sure you needed this because of the way you added migrations to your instance in a different order/state from the pulp_deb main branch. As such, I would like to close this PR in the interest of cleanup. Out of an abundance of caution, I have taken the liberty to push your issue branch into the upstream pulp_deb repository, just in case we do want to recover it later.

Is this acceptable?

Yep, sounds good to me, let's close things out.

@sdherr sdherr closed this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.bugfix CHANGES/<issue_number>.bugfix Triage-Needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrating to 3.0.0 fails with duplicated ReleaseComponents / ReleaseArchitectures
2 participants