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

Commit

Permalink
fix ordering of bg update (#10291)
Browse files Browse the repository at this point in the history
this was a typo introduced in #10282. We don't want to end up doing the
`replace_stream_ordering_column` update after anything that comes up in
migration 60/03.
  • Loading branch information
richvdh authored Jul 1, 2021
1 parent e72c287 commit 0aab50c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/10291.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a long-standing bug where Synapse would return errors after 2<sup>31</sup> events were handled by the server.
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ INSERT INTO background_updates (ordering, update_name, progress_json, depends_on

-- ... and another to do the switcheroo
INSERT INTO background_updates (ordering, update_name, progress_json, depends_on) VALUES
(6003, 'replace_stream_ordering_column', '{}', 'index_stream_ordering2_ts');
(6001, 'replace_stream_ordering_column', '{}', 'index_stream_ordering2_ts');

0 comments on commit 0aab50c

Please sign in to comment.