Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix bug where we failed to delete old push actions #13194

Merged
merged 3 commits into from
Jul 6, 2022

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Jul 6, 2022

This happened if we encountered a stream ordering in event_push_actions that had more rows than the batch size of the delete, as If we don't delete any rows in an iteration then the next time round we get the exact same stream ordering and get stuck.

Broke in #13005

This happened if we encountered a stream ordering in
`event_push_actions` that had more rows than the batch size of the
delete.
@erikjohnston erikjohnston marked this pull request as ready for review July 6, 2022 10:11
@erikjohnston erikjohnston requested a review from a team as a code owner July 6, 2022 10:11
@erikjohnston erikjohnston added the X-Regression Something broke which worked on a previous release label Jul 6, 2022
Copy link
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with explanation

changelog.d/13194.bugfix Outdated Show resolved Hide resolved
Co-authored-by: reivilibre <oliverw@matrix.org>
@erikjohnston erikjohnston enabled auto-merge (squash) July 6, 2022 10:29
@erikjohnston erikjohnston merged commit a0f51b0 into develop Jul 6, 2022
@erikjohnston erikjohnston deleted the erikj/fix_delete_push_actions branch July 6, 2022 11:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
X-Regression Something broke which worked on a previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants