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 #647: fix bulk update for pending records #648

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

leplatrem
Copy link
Contributor

@leplatrem leplatrem commented Apr 27, 2023

With the previous code, the SQL query was UPDATE pending_records SET id=X, retry=0, without WHERE close. Leading to an integrity error when more than 1 pending record was updated.

@leplatrem leplatrem requested a review from a team as a code owner April 27, 2023 07:53
@leplatrem leplatrem added the bug Something isn't working label Apr 27, 2023
@leplatrem leplatrem merged commit c9daa08 into main Apr 27, 2023
@leplatrem leplatrem deleted the 647-fix-integrity-constraint branch April 27, 2023 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants