Skip to content
This repository was 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
erikjohnston merged 3 commits into
developfrom
erikj/fix_delete_push_actions
Jul 6, 2022
Merged

erikjohnston merged 3 commits into
developfrom
erikj/fix_delete_push_actions

Conversation

@erikjohnston

@erikjohnston erikjohnston commented Jul 6, 2022 •

Copy link
Copy Markdown
Member

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

@reivilibre reivilibre left a comment

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.

LGTM with explanation

Comment thread changelog.d/13194.bugfix Outdated
Co-authored-by: reivilibre <oliverw@matrix.org>
@erikjohnston
erikjohnston enabled auto-merge (squash) July 6, 2022 10:29
@erikjohnston
erikjohnston disabled auto-merge July 6, 2022 11:09
@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