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

Commit 0aab50c

Browse files
authored
fix ordering of bg update (#10291)
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.
1 parent e72c287 commit 0aab50c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/10291.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a long-standing bug where Synapse would return errors after 2<sup>31</sup> events were handled by the server.

synapse/storage/schema/main/delta/60/01recreate_stream_ordering.sql.postgres

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ INSERT INTO background_updates (ordering, update_name, progress_json, depends_on
4242

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

0 commit comments

Comments
 (0)